Skin CJ system
#5

Quote:
Originally Posted by dice7
I would still use native functions rather then my own variables to find the players skin, since they are the most accurate.
But your example would work

pawn Код:
public OnPlayerSpawn(playerid)
{
  if(GetPlayerSkin(playerid) == 0)
  {
    SetPlayerSkin(playerid, 135);
    PlayerInfo[playerid][pChar] = 135;
    SendClientMessage(playerid, COLOR, "You can't use CJs skin. Changing to another one. Press F4 if you want to select a new skin");
  }
}
Thanks, i test now.
// Tested, works. Thanks.
Reply


Messages In This Thread
Skin CJ system - by Typhome - 28.08.2009, 05:33
Re: Skin CJ system - by dice7 - 28.08.2009, 05:36
Re: Skin CJ system - by Typhome - 28.08.2009, 05:37
Re: Skin CJ system - by dice7 - 28.08.2009, 05:43
Re: Skin CJ system - by Typhome - 28.08.2009, 05:46

Forum Jump:


Users browsing this thread: 1 Guest(s)