SA-MP Forums Archive
Admin Skin - 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 (/showthread.php?tid=205166)



Admin Skin - hab2ever - 31.12.2010

Heya i need help.
hmm i got
pawn Код:
if(GetPlayerSkin(playerid) == 23 && !IsPlayerAdmin(playerid))
  {
    //Bla Bla
    return 0;
  }
well i dunno where i have to put it can anyones tell me where i have to put it?
sorry for my bad english, help me thnx in advance.


Re: Admin Skin - HyperZ - 31.12.2010

pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
  if(GetPlayerSkin(playerid) == 23 && !IsPlayerAdmin(playerid))
  {
    //Bla Bla
    return 0;
  }
  return 1;
}



Re: Admin Skin - MadeMan - 31.12.2010

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
    if(GetPlayerSkin(playerid) == 23 && !IsPlayerAdmin(playerid))
    {
        //Bla Bla
        return 0;
    }
    return 1;
}