SA-MP Forums Archive
Help with this error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with this error (/showthread.php?tid=516437)



Help with this error - Mckarlis - 31.05.2014

help i get this error when compiling
Код:
C:\Users\----\Desktop\mans serveris\gamemodes\sg.pwn(1527) : error 001: expected token: "-identifier-", but found "-integer value-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Here is the code

http://prntscr.com/3oagg3


Re : Help with this error - S4t3K - 31.05.2014

You show us the line 1229 but the error is on the line 1527.


Re: Help with this error - Mckarlis - 31.05.2014

sorry my bad updated


Re: Help with this error - Rittik - 31.05.2014

Just check whether you have inserted a ";" semi colon at the end of the line 1526 if not, insert it then.


Re : Help with this error - S4t3K - 31.05.2014

Can you post the entire line 1526 please.


Re: Help with this error - Mckarlis - 31.05.2014

yes it has a ";" at the end

Код:
	 if(PlayerInfo[playerid][pAdmin] >= 1)  return SendClientMessage(playerid, 0xFF0000AA, "You need to be a admin to use this command");
     new ID;



Re: Help with this error - Mckarlis - 31.05.2014

Need help asap


Re: Help with this error - Eth - 31.05.2014

no idea why dude, your command is perfect...