rcon admin thing - 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 thing (
/showthread.php?tid=208592)
rcon admin thing -
sherlock - 08.01.2011
ok so if i want to set a script with (multiple?) commands so that only rcon can use it i think i use this?
Код:
if(!IsPlayerAdmin(playerid))
return SendClientMessage(playerid,COLOR,"You are not Rcon Admin")
BUT would i put it at the top of the script after where the includes are specified or at the bottom or anywhere?
Re: rcon admin thing -
Kwarde - 08.01.2011
Use it only at the commands you want admin only.
Re: rcon admin thing -
sherlock - 08.01.2011
on top of each command then?
Re: rcon admin thing -
Mean - 08.01.2011
Yeap
Re: rcon admin thing -
sherlock - 08.01.2011
ok thanks guys i will try it out