OnPlayerRequestClass F4 enable
#3

pawn Код:
new pSkinChosen[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
  pSkinChosen[playerid]=0;
  return 1;
}
public OnPlayerRequestSpawn(playerid)
{
  pSkinChosen[playerid]=1;
  return 1;
}
public OnPlayerRequestClass(playerid,classid)
{
  if(pSkinChosen[playerid])// Goes at the top
  {
    SpawnPlayer(playerid);
    return 1;
  }
  //Your code
}
Reply


Messages In This Thread
OnPlayerRequestClass F4 enable - by ArTisT - 18.01.2010, 17:14
Re: OnPlayerRequestClass F4 enable - by KnooL - 18.01.2010, 18:16
Re: OnPlayerRequestClass F4 enable - by Joe Staff - 18.01.2010, 18:28

Forum Jump:


Users browsing this thread: 2 Guest(s)