Admin skin help - 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: Admin skin help (
/showthread.php?tid=131176)
Admin skin help -
RoneyRemington - 01.03.2010
Ok. I need some help. Is there a way to make it so only admins can have a certian skin?
Any help is appreciated.
Re: Admin skin help -
adsy - 01.03.2010
do you want it on a command?
You could run a timer on it to check if a player IsPlayerAdmin and SetPlayerSkin(playerid, skinid)
then again what sort of admin, scripted or rcon?
Re: Admin skin help -
Torran - 01.03.2010
OnPlayerRequestClass
if(classid == classidofadminskin)
{
if(IsPlayerAdmin(playerid))
{
WHATEVER HERE
}
else
{
SendClientMessage(You are not admin..
}
}
That should work