23.08.2010, 08:49
All you can do for one is
Allows them to pick a skin on the beginning only
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPVarInt(playerid, "Spawned", 1);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
SetPVarInt(playerid, "Spawned", 0);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(GetPVarInt(playerid, "Spawned") == 1)
{
SpawnPlayer(playerid);
}
return 1;
}