Skin save +REP
#2

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


Messages In This Thread
Skin save +REP - by TheMightyEddy - 15.04.2012, 16:04
Re: Skin save +REP - by NeTuddMeg - 15.04.2012, 16:24
Re: Skin save +REP - by TheMightyEddy - 15.04.2012, 17:00
Re: Skin save +REP - by TheMightyEddy - 16.04.2012, 04:09
Re: Skin save +REP - by RollTi - 16.04.2012, 04:11
Re: Skin save +REP - by TheMightyEddy - 16.04.2012, 04:42
Re: Skin save +REP - by Marco_Valentine - 16.04.2012, 05:11
Re: Skin save +REP - by Sphex - 16.04.2012, 06:08
Re: Skin save +REP - by TheMightyEddy - 16.04.2012, 21:40
Re: Skin save +REP - by FarSe. - 18.04.2012, 05:14

Forum Jump:


Users browsing this thread: 1 Guest(s)