SA-MP Forums Archive
admin class - 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: admin class (/showthread.php?tid=378612)



admin class - MerCy - 18.09.2012

well i want to knw how to make an admin team protection system ---means only admins of the server could be able to join that server not any normal guy ..........
how to do that ?


Re : admin class - will-56 - 18.09.2012

Add "password Admin'sPassword" in your server.cfg.
Give this password to your admins


Re: admin class - TaLhA XIV - 18.09.2012

Under OnPlayerConnect,check if a player is a admin or not,if he is not,kick him.(hope you have a saving system other wise all the player's will get kicked when they try to join.)


Re: admin class - MerCy - 18.09.2012

Quote:
Originally Posted by TaLhA XIV
Посмотреть сообщение
Under OnPlayerConnect,check if a player is a admin or not,if he is not,kick him.(hope you have a saving system other wise all the player's will get kicked when they try to join.)
well yes i do have a saveing system ..and m useing admin filterscript ..is it ok to use filter script :/


Re: admin class - TaLhA XIV - 18.09.2012

No use the saving system and the admin system both in the gm in my opinion.


Re: admin class - MerCy - 18.09.2012

Quote:
Originally Posted by TaLhA XIV
Посмотреть сообщение
No use the saving system and the admin system both in the gm in my opinion.
hmm ok let me try