Please Help me with a Skin
#3

pawn Код:
public OnPlayerRequestSpawn(playerid)
{
  if (GetPlayerSkin(playerid) == 21) // <-Change to your skin id
  {
  if (!IsPlayerAdmin(playerid))
  {
  GameTextForPlayer(playerid, "~r~Only for admins!", 2000, 3);
  SetPlayerHealth(playerid, 0);
  ForceClassSelection(playerid);
  return 0;
  }
  return 1;
  }
This is better. Forces the player to class selection instead of a kick.
Reply


Messages In This Thread
Please Help me with a Skin - by fff - 11.04.2009, 12:12
Re: Please Help me with a Skin - by basker - 11.04.2009, 15:17
Re: Please Help me with a Skin - by Klutty - 11.04.2009, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)