Saving skin on variable
#1

I've been trying to make variable that would save player skin while he is on duty ( PD, FBI, etc.. )

Saving skin on variable..
Код:
new skin;
skin = GetPlayerSkin(playerid);
PlayerSkin[playerid] = skin; // THIS VARIABLE
Putting player skin on duty skin.
Код:
SetPlayerSkin(playerid, 255);
PlayerInfo[playerid][pSkin] = 255;
And this part does not work, when it should set player skin to one that he had before he went on duty..
Код:
new skin = PlayerSkin[playerid];	    
PlayerInfo[playerid][pSkin] = skin;
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
Reply


Messages In This Thread
Saving skin on variable - by iLegend5 - 09.12.2013, 16:34
Re: Saving skin on variable - by Tagathron - 09.12.2013, 17:50
Re: Saving skin on variable - by PT - 09.12.2013, 18:19
Re: Saving skin on variable - by iLegend5 - 09.12.2013, 19:34
Re : Saving skin on variable - by FilesMAker - 09.12.2013, 19:55

Forum Jump:


Users browsing this thread: 2 Guest(s)