[Help] : error 010: invalid function or declaration
#1

Hello,

I need help, I've been trying to make this command that can only be used my admin levels 3 and up; I'm not a scripter, just been trying stuff out and it hasn't been going so well.

It gives 3 errors when I attempt to compile.

C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(107199) : error 010: invalid function or declaration
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(107201) : error 010: invalid function or declaration
C:\Users\Jon\Desktop\U-RP [ENG - 0.3x]\gamemodes\U-RP.pwn(107203) : error 010: invalid function or declaration

Here's how it looks in the script:

Код:
if(strcmp("/acords", cmdtext, true, 10) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	    	if(PlayerInfo[playerid][pAdmin] >= 3)
	    	{
	    	    SendClientMessage(playerid, COLOR_WHITE, "Cordinates Menu [/gotoco]");
	    	    SendClientMessage(playerid, COLOR_WHITE, "Gotham City: 2203.3160 -5787.8170 13.3400 360.0000");
	    	}
		}
Can someone please help me?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)