02.05.2014, 16:41
Hey guys i'm getting this error.
Here is my script
Please help
Код:
C:\Users\NAEEM\Desktop\SGG.pwn(14313) : error 010: invalid function or declaration C:\Users\NAEEM\Desktop\SGG.pwn(14319) : error 010: invalid function or declaration C:\Users\NAEEM\Desktop\SGG.pwn(14322) : error 010: invalid function or declaration C:\Users\NAEEM\Desktop\SGG.pwn(14328) : error 010: invalid function or declaration C:\Users\NAEEM\Desktop\SGG.pwn(14331) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.
Код:
if (strcmp("/textdrawoff", cmdtext, true, 10) == 0) { TextDrawHideForPlayer(playerid,ServerTextdraw[0]); TextDrawHideForPlayer(playerid,ServerTextdraw[1]); TextDrawHideForPlayer(playerid,ServerTextdraw[2]); TextDrawHideForPlayer(playerid,ServerTextdraw[3]); return 1; } if (strcmp("/textdrawon", cmdtext, true, 10) == 0) { TextDrawShowForPlayer(playerid,ServerTextdraw[0]); TextDrawShowForPlayer(playerid,ServerTextdraw[1]); TextDrawShowForPlayer(playerid,ServerTextdraw[2]); TextDrawShowForPlayer(playerid,ServerTextdraw[3]); return 1; } return 0; }