19.07.2011, 12:07
Hello everyone, I have a problem with TextDraws.
I want to make the Yugoslavian flag so i did that. But when i try to compile FilterScript it gives me some error: undefined symbol "TextdrawBoxColor" and when i define that with #define TextdrawBoxColor it says this: expression has no effect.
Here is my filterscript
I want to make the Yugoslavian flag so i did that. But when i try to compile FilterScript it gives me some error: undefined symbol "TextdrawBoxColor" and when i define that with #define TextdrawBoxColor it says this: expression has no effect.
Here is my filterscript
Код:
/* WebTech RolePlaY Yugoslavia logo - www.webtech-samp.co.nr */ //definicije #define FILTERSCRIPT //includovi #include <a_samp> //newovi new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; public OnFilterScriptInit() { print("\n--------------------------------------"); print(" WebTech Yu logo by Axel Nelson"); print("--------------------------------------\n"); //---------------------------------------- Textdraw0 = TextDrawCreate(10.000000,167.000000,"."); Textdraw1 = TextDrawCreate(10.000000,182.000000,"a"); Textdraw2 = TextDrawCreate(10.000000,196.000000,"."); Textdraw3 = TextDrawCreate(9.000000,181.000000,"]"); TextDrawUseBox(Textdraw0,1); TextDrawBoxColor(Textdraw0,0x0000ff99); TextDrawTextSize(Textdraw0,43.000000,11.000000); TextDrawUseBox(Textdraw1,1); TextDrawBoxColor(Textdraw1,0xffffffff); TextDrawTextSize(Textdraw1,43.000000,-25.000000); TextDrawUseBox(Textdraw2,1); TextdrawBoxColor(Textdraw2,0xff0000ff); TextDrawTextSize(Textdraw2,43.000000,-3.000000); TextDrawAlignment(Textdraw0,0); TextDrawAlignment(Textdraw1,0); TextDrawAlignment(Textdraw2,0); TextDrawAlignment(Textdraw3,0); TextDrawBackgroundColor(Textdraw0,0x0000ff99); TextDrawBackgroundColor(Textdraw1,0xffffffff); TextDrawBackgroundColor(Textdraw2,0xff0000ff); TextDrawBackgroundColor(Textdraw3,0xffff00ff); TextDrawFont(Textdraw0,3); TextDrawLetterSize(Textdraw0,1.000000,1.000000); TextDrawFont(Textdraw1,3); TextDrawLetterSize(Textdraw1,1.000000,1.000000); TextDrawFont(Textdraw2,3); TextDrawLetterSize(Textdraw2,1.000000,1.000000); TextDrawFont(Textdraw3,2); TextDrawLetterSize(Textdraw3,1.000000,1.000000); TextDrawColor(Textdraw0,0x0000ff99); TextDrawColor(Textdraw1,0xffffffff); TextDrawColor(Textdraw2,0xff0000ff); TextDrawColor(Textdraw3,0xff0000cc); TextDrawSetOutline(Textdraw0,1); TextDrawSetOutline(Textdraw1,1); TextDrawSetOutline(Textdraw2,1); TextDrawSetOutline(Textdraw3,1); TextDrawSetProportional(Textdraw0,1); TextDrawSetProportional(Textdraw1,1); TextDrawSetProportional(Textdraw2,1); TextDrawSetProportional(Textdraw3,1); TextDrawSetShadow(Textdraw0,1); TextDrawSetShadow(Textdraw1,1); TextDrawSetShadow(Textdraw2,1); TextDrawSetShadow(Textdraw3,1); return 1; } public OnPlayerSpawn(playerid) // Ove textdrawove/poruke prikazuje kad se igrac SPAWN-a { TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); return 1; } /* WebTech RolePlaY [webtech-samp.co.nr] Server Yu logo by Axel Nelson Server IP: 188.138.112.18:7785 */