16.12.2014, 09:03
^
Not to be mean, but that will cause the player to be unable to spawn. You must put something this:
With the code I posted above, when the player gets to class selection, if the skin is greater than 0 (so that it cannot select an invalid skin id), it will set their skin, if they try to use the arrow keys, it will spawn them.
Not to be mean, but that will cause the player to be unable to spawn. You must put something this:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(pInfo[playerid][Skin] > 0)
{
if(skinchange[playerid] == 0)
{
SetPlayerSkin(playerid,pInfo[playerid][Skin]);
SpawnPlayer(playerid);
}
return 1;
}
return 1;
}