16.12.2014, 01:58
So, you just want him not you get another skin, but you dont mind him changing class?
if yes, Use OnPlayerSpawn..
if yes, Use OnPlayerSpawn..
PHP код:
public OnPlayerSpawn(playerid)
{
if(GetPlayerSkin(playerid)!=pInfo[playerid][Skin] && pInfo[playerid][skin]!= -1?)//if a player doesnt have custom skin, make the value -1, else New Player's Skin will be 0 and they will get CJ-Skin
{
SetPlayerSkin(playerid, pInfo[playerid][Skin]);
}
}