Saving player skin onduty/offduty
#5

Код:
PlayerInfo[playerid][oldskin] = GetPlayerSkin(playerid);
This enum variable will save temporarily, if he wants to save it like a constant that will save out to like mysql or dini or y_ini or whatever he will have to add those variables in his save script.
Код:
SetPlayerSkin(playerid, PlayerInfo[playerid][oldskin]);
And this will load that skin enum back to player.
How hard is it to guess this
Reply


Messages In This Thread
Saving player skin onduty/offduty - by jasperschellekens - 09.04.2017, 17:48
Re: Saving player skin onduty/offduty - by Vin Diesel - 09.04.2017, 18:01
Re: Saving player skin onduty/offduty - by grymtn - 09.04.2017, 18:03
Re: Saving player skin onduty/offduty - by Vin Diesel - 09.04.2017, 18:43
Re: Saving player skin onduty/offduty - by grymtn - 09.04.2017, 18:48
Re: Saving player skin onduty/offduty - by Vin Diesel - 09.04.2017, 19:00
Re: Saving player skin onduty/offduty - by Bwandon - 09.04.2017, 19:39

Forum Jump:


Users browsing this thread: 2 Guest(s)