SA-MP Forums Archive
Related to rights to RCON - 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: Related to rights to RCON (/showthread.php?tid=635196)



Related to rights to RCON - FireRage007 - 03.06.2017

Hi there,


I am using a filterscript of gang system. I want that only RCON admins can only access the commands and functions provided by flterscript. How can i do that?

I am using this
https://sampforum.blast.hk/showthread.php?tid=243474


Re: Related to rights to RCON - Kane - 03.06.2017

Add at the top of the commands:
PHP код:
if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid, -1"You aren't an RCON admin.");