17.07.2013, 06:53
Help me please Skip class selection / save skin
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
SetPlayerSkin(playerid, 21);
}
public OnPlayerConnect(playerid)
{
SetSpawnInfo(...); // Parameters: (playerid, team, skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo)
SpawnPlayer(playerid);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
return 0; //Returns 0, so there won't be request class.
}