28.10.2018, 07:52
Iam having a problem with skin change. The problem is that you can't choose new skin, you can just spawn with the skin you choose on account creating, if pResume set to 0 then player will choose his skin but he will lose all his stats [Money, days alive and all that stuff]
CODE:
CODE:
PHP код:
if(PlayerInfo[playerid][pResume] == 1)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pClass]);
}
SetPlayerHealth(playerid, 0);
ForceClassSelection(playerid);
PlayerInfo[playerid][pResume] = 1;
}