Help With Locking Skins
#2

Hello,
Replace (IsPlayerAdmin) With your administration variables.
Thank You!
The code below will be on (OnPlayerRequestClass)
pawn Код:
case 0,2,1,4,5(Replace these with your skin's):
      {
       if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You are not authorized to use this command!");
        Or If You want Other Skin'
s To Not Use This Then
        if(gTeam[playerid] == (Other Teams)) return SendClientMessage(playerid,-1,"Choose Other Skin, These Are For Official Members Only!
    SetPlayerColor(playerid,0x8EEE7DFF);
        SetPlayerVirtualWorld(playerid,1);
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid, 2239.9063,-1641.9432,15.5267);
        SetPlayerFacingAngle(playerid, 151.7758);
        SetPlayerCameraPos(playerid, 2237.3972,-1646.6178,16.3376);
        SetPlayerCameraLookAt(playerid, 2239.9063,-1641.9432,15.5267);
    GameTextForPlayer(playerid, "
Admins!", 500, 3);
    ApplyAnimation(playerid,"
SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
    gTeam[playerid] = TEAM_ADMINS; ( Used team_admins as an example, replace it with your administration team)
      }
Reply


Messages In This Thread
Help With Locking Skins - by Compton - 18.02.2012, 15:36
Re: Help With Locking Skins - by Littlehelper - 18.02.2012, 15:43
Re: Help With Locking Skins - by Compton - 18.02.2012, 15:46
Re: Help With Locking Skins - by JhnzRep - 18.02.2012, 15:50
Re: Help With Locking Skins - by Littlehelper - 18.02.2012, 15:56
Re: Help With Locking Skins - by JhnzRep - 18.02.2012, 15:58
Re: Help With Locking Skins - by Compton - 18.02.2012, 15:59
Re: Help With Locking Skins - by JhnzRep - 18.02.2012, 16:04
Re: Help With Locking Skins - by Compton - 18.02.2012, 16:20
Re: Help With Locking Skins - by JhnzRep - 18.02.2012, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)