09.03.2012, 16:33
Quote:
lazy but might work if you don't use the class selector..
pawn Код:
|
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(IsPlayerNPC(playerid)) return 1;
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
if(RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
InitPlayerConnection( playerid );
} else {
SpawnPlayer(playerid);
}
return 0;
}