Invalid Function Or Declaration
#1

Hey guys i'm getting this error.
Код:
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.
Here is my script

Код:
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;
}
Please help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)