15.04.2012, 16:24
to SaveStats function, under '[I]if(PLAYERLIST_authed)'
to LOGIN dialog, under 'if(udb_CheckLogin(PlayerName(playerid),inputtext))'
to OnPlayerSpawn callback
Код:
dUserSetINT(PlayerName(i)).("Skin", GetPVarInt(i, "Skin"));
Код:
SetPVarInt(playerid, "Skin", dUserINT(PlayerName(playerid)).("Skin"));
Код:
SetPlayerSkin(playerid, GetPVarInt(playerid, "Skin"));

