I need a tutorial - 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: I need a tutorial (
/showthread.php?tid=437587)
I need a tutorial -
Latisha - 16.05.2013
Hello,
How to make a cmd for rcon admin?
Re: I need a tutorial -
zombieking - 16.05.2013
Use IsPlayerAdmin
e.g:
pawn Код:
CMD:respawnme(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You must be a RCON admin to use this command");
SpawnPlayer(playerid);
return 1;
}
Sorry for the indentation - I wrote this on the forums.