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

Quote:
Originally Posted by Sk1lleD
Посмотреть сообщение
On the code you put there's missing a bracket }
try this:
Код:
if(strcmp("/acords", cmdtext, true) == 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");
	    	}
	    }
        }
Same errors:
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

I didn't do the command from scratch, I took it from the /helperhelp or something like that (forgot) and edited it. I know the [pAdmin] is correct and the <= (equal or greater) is correct, did It mess up somewhere in the command.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)