[pomoc] eror u textdrawu

Započeo sampzone, April 11, 2011, 21:31:28 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

mod koji ja koristim: Street stories
problem: Ja sam htjeo da napravim svoju prvu FS da pise u lijevom uglu ekrana vertilakno YUGOSLAVIJA pomocu TextDrawa i pojavi mi se jedan error kada kompajl al neznam kakod a ga rjesim a usput mozete da vidite jesam li dobro uradio tj da li ce da pise vertikalno YUGOSLAVIJA ?
hvala za pomoc unaprijed

Dio koda:

#include <a_samp>

#if defined FILTERSCRIPT


public OnFilterScriptInit()
{
   print("\n--------------------------------------");
   print(" FS by Brka");
   print("--------------------------------------\n");
   return 1;
}
new Text:textdraw1;
new Text:textdraw2;
new Text:textdraw3;
new Text:textdraw4;
new Text:textdraw5;
new Text:textdraw6;
new Text:textdraw7;
new Text:textdraw8;
new Text:textdraw9;
new Text:textdraw10;
new Text:textdraw11;


{
   textdraw1 = TextDrawCreate(0,0, "Y");
   TextDrawColor(textdraw1, 0x00DFF0FF);
   TextDrawSetOutline(textdraw1, 1);
   TextDrawSetShadow(textdraw1, 1);
   TextDrawFont(textdraw1, 0);
   TextDrawLetterSize(textdraw1, 1,1);
}


{
   textdraw2 = TextDrawCreate(0,0, "U");
   TextDrawColor(textdraw2, 0x00DFF0FF);
   TextDrawSetOutline(textdraw2, 1);
   TextDrawSetShadow(textdraw2, 1);
   TextDrawFont(textdraw2, 0);
   TextDrawLetterSize(textdraw2, 1,1);
}


{
   textdraw3 = TextDrawCreate(0,0, "G");
   TextDrawColor(textdraw3, 0x00DFF0FF);
   TextDrawSetOutline(textdraw3, 1);
   TextDrawSetShadow(textdraw3, 1);
   TextDrawFont(textdraw3, 0);
   TextDrawLetterSize(textdraw3, 1,1);
}


{
   textdraw4 = TextDrawCreate(0,0, "O");
   TextDrawColor(textdraw4, 0x00DFF0FF);
   TextDrawSetOutline(textdraw4, 1);
   TextDrawSetShadow(textdraw4, 1);
   TextDrawFont(textdraw4, 0);
   TextDrawLetterSize(textdraw4, 1,1);
}


{
   textdraw5 = TextDrawCreate(0,0, "S");
   TextDrawColor(textdraw5, 0x00DFF0FF);
   TextDrawSetOutline(textdraw5, 1);
   TextDrawSetShadow(textdraw5, 1);
   TextDrawFont(textdraw5, 0);
   TextDrawLetterSize(textdraw5, 1,1);
}


{
   textdraw6 = TextDrawCreate(0,0, "L");
   TextDrawColor(textdraw6, 0x00DFF0FF);
   TextDrawSetOutline(textdraw6, 1);
   TextDrawSetShadow(textdraw6, 1);
   TextDrawFont(textdraw6, 0);
   TextDrawLetterSize(textdraw6, 1,1);
}


{
   textdraw7 = TextDrawCreate(0,0, "A");
   TextDrawColor(textdraw7, 0x00DFF0FF);
   TextDrawSetOutline(textdraw7, 1);
   TextDrawSetShadow(textdraw7, 1);
   TextDrawFont(textdraw7, 0);
   TextDrawLetterSize(textdraw7, 1,1);
}


{
   textdraw8 = TextDrawCreate(0,0, "V");
   TextDrawColor(textdraw8, 0x00DFF0FF);
   TextDrawSetOutline(textdraw8, 1);
   TextDrawSetShadow(textdraw8, 1);
   TextDrawFont(textdraw8, 0);
   TextDrawLetterSize(textdraw8, 1,1);
}


{
   textdraw9 = TextDrawCreate(0,0, "I");
   TextDrawColor(textdraw9, 0x00DFF0FF);
   TextDrawSetOutline(textdraw9, 1);
   TextDrawSetShadow(textdraw9, 1);
   TextDrawFont(textdraw9, 0);
   TextDrawLetterSize(textdraw9, 1,1);
}


{
   textdraw10 = TextDrawCreate(0,0, "J");
   TextDrawColor(textdraw10, 0x00DFF0FF);
   TextDrawSetOutline(textdraw10, 1);
   TextDrawSetShadow(textdraw10, 1);
   TextDrawFont(textdraw10, 0);
   TextDrawLetterSize(textdraw10, 1,1);
}


{
   textdraw11 = TextDrawCreate(0,0, "A");
   TextDrawColor(textdraw11, 0x00DFF0FF);
   TextDrawSetOutline(textdraw11, 1);
   TextDrawSetShadow(textdraw11, 1);
   TextDrawFont(textdraw11, 0);
   TextDrawLetterSize(textdraw11, 1,1);
}
   

Eror koji mi pokazuje

C:\DOCUME~1\Brkovic\Desktop\SAMPSE~1\YUGOSL~2.PWN(137) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

jel mozes to satviti na pastebin ili u kod molim te?
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Snich

Samo ispod zadnje zagrade stavi #endif