15.04.2010, 22:31
how to make a thingy to save the skin automaticly .. i have made one but i get errors .. cant work with it can anyone help me ?
Код:
onplayerdisconnect
if(PlayerInfo[playerid][Registered] == 1)
(
GetPlayerSkin(playerid);// dont know if this is right
dUserSetINT(PlayerName(playerid)).("SavedSkin",skinid);//now i dont know how to save the skin id
}
and onplayerSpawn
if(PlayerInfo[playerid][Logged] == 1)
{
SetPlayerSkin(dUserSetINT(playerid,PlayerName(playerid)).("SavedSkin",skinid));
}

