20.10.2009, 17:11
pawn Код:
public OnPlayerSpawn(playerid)
{
new playerclass = GetPlayerSkin(playerid);
if(playerclass == CLASS_ID /* || playerclass == CLASS_ID || playerclass == CLASS_ID || playerclass == CLASS_ID */) // class_id put a skin id that you want
{
SetPlayerPos(...); // coordinates to spawn player
// SetPlayerFacingAngle(...); // use this if you want
// SetPlayerInterior(...); // set interior if you want
}
return 1;
}