Lock more then 1 team
#5

pawn Код:
public OnPlayerRequestSpawn(playerid) {
  new SkinID;
  SkinID = GetPlayerSkin(playerid);
  new Nick[MAX_PLAYER_NAME];
  GetPlayerName(playerid, Nick, sizeof(Nick));
 
  if(SkinID == 160 || SkinID == 161 || SkinID == 125 || SkinID == 148 || SkinID == 106 || SkinID == 107) {
   
   if(strfind(Nick, "[RK]", true) != -1) {
     return 1;
   } else {
     GameTextForPlayer(playerid, "~r~Skin Locked ~n~ Only for [RK] gang members !", 750, 3);
   }
 }
 else if(Skinid == Cops Skins here)
 {
    if(strfind(Nick, "[Some Other Clan Tag]", true) != -1) {
      return 1;
    } else {
      GameTextForPlayer(playerid, "~r~Skin Locked ~n~ Only for [Some Other Clan Tag] gang members !", 750, 3);
    }
    return 1;
  }
}
?
Reply


Messages In This Thread
Lock more then 1 team - by rp4life - 27.02.2009, 10:11
Re: Lock more skins - by hoodline - 27.02.2009, 10:17
Re: Lock more skins - by rp4life - 27.02.2009, 11:33
Re: Lock more skins - by sumwanyous - 27.02.2009, 12:23
Re: Lock more then 1 team - by hoodline - 27.02.2009, 13:37
Re: Lock more then 1 team - by rp4life - 27.02.2009, 14:08
Re: Lock more then 1 team - by Marcel - 27.02.2009, 14:18
Re: Lock more then 1 team - by rp4life - 27.02.2009, 14:32
Re: Lock more then 1 team - by rp4life - 27.02.2009, 14:37
Re: Lock more then 1 team - by hoodline - 28.02.2009, 02:42

Forum Jump:


Users browsing this thread: 1 Guest(s)