SA-MP Forums Archive
i need some 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: i need some help (/showthread.php?tid=82607)



i need some help - superboer15 - 19.06.2009

hey,

i need a Skin that only admins can use.

Can Somebody Help me with my problem ?

Thnx


Re: i need some help - *ToM* - 19.06.2009

Quote:
Originally Posted by superboer15
hey,

i need a Skin that only admins can use.

Can Somebody Help me with my problem ?

Thnx
There's no such a skin
You have to make it Admin only


Re: i need some help - superboer15 - 19.06.2009

Quote:
Originally Posted by Toniu_
There's no such a skin
You have to make it Admin only
ok but how can i Set it Admin Only?


Re: i need some help - MenaceX^ - 19.06.2009

Depends how your options to select a skin.


Re: i need some help - superboer15 - 23.06.2009

Can Someone give me a Example
Skin id: 217 And 211


thnx



Re: i need some help - Grim_ - 23.06.2009

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
  if(GetPlayerSkin(playerid)==217 || GetPlayerSkin(playerid)==211)
  {
   if(!IsPlayerAdmin(playerid))
   {
     SendClientMessage(playerid, color, "Need to be an administrator to use this skin!");
     return 0;
   }
  }
  return 1;
}