SA-MP Forums Archive
[Help]Some informations - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]Some informations (/showthread.php?tid=337443)



[Help]Some informations - Danny1 - 26.04.2012

Hey all.I've made command but I need is there any function how to reset player skin to older?Example : I was admin on duty and I've put to set them skin (ID) and command to admin off duty.How to I put in the comand to turn admin duty and reset his skin?


Re: [Help]Some informations - Danny1 - 26.04.2012

Please help I need this quickly.


Re: [Help]Some informations - Shabi RoxX - 26.04.2012

Create a variable and store player old skin id :

pawn Код:
new oldskin[MAX_PLAYERS];

oldskin[playerid] = GetPlayerSkin(playerid);//it save player skin id to oldskin[playerid] so you can use it to reset player id



Re: [Help]Some informations - Danny1 - 26.04.2012

No,skin is the same.


Re: [Help]Some informations - Danny1 - 26.04.2012

Anybody?