18.01.2010, 18:28
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
}