SA-MP Forums Archive
Rcon Admin Score :P - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Rcon Admin Score :P (/showthread.php?tid=70306)



Rcon Admin Score :P - CAMERON_BANFIELD - 23.03.2009

Hi, i have this code to show if the admin is a proper one. it sets the score to 1337 and it goes in the on player connect. but i get error please tell me what is wrong thanks
Код:
 if(IsPlayerAdmin(playerid)
SetPlayerScore(playerid, 1337);
Код:
C:\Documents and Settings\Cameron Banfield\Desktop\Jack.pwn(2453) : error 001: expected token: ")", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: Rcon Admin Score :P - tom_jonez - 23.03.2009

Код:
 if(IsPlayerAdmin(playerid))
{
SetPlayerScore(playerid, 1337);
}



Re: Rcon Admin Score :P - CAMERON_BANFIELD - 23.03.2009

ty