05.08.2010, 17:16
Thx but if spawned.. the player dont spawn appears down "<< >> spawn" here is my code
i want spawn automatically if spawned == 1!!
another thing.. is a rp server so when player connect appears login or register dialog..
i want spawn automatically if spawned == 1!!
another thing.. is a rp server so when player connect appears login or register dialog..
Код:
public OnPlayerRequestClass(playerid, classid)
{
if(pinfo[playerid][spawned] == 1) // Checks if the player is registered
{
SpawnPlayer(playerid);
return 1;
}
else
{
SetupPlayerForClassSelection(playerid);
}
return 1;
}

