SA-MP Forums Archive
Skin Selector [DUTY] - 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: Skin Selector [DUTY] (/showthread.php?tid=572019)



Skin Selector [DUTY] - Steveproxy5 - 24.04.2015

Hi, I use a system where you have to type /servizio if you want to go in duty, and the skin will be applied to that certain corresponding rank, may you tell me how to make a system where you have to select the skin you prefer between those ones i've chosen to put down there , and then in place to type /servizio I want to let them press a button to let it show this menu.

1. Press a button (i'll choose which one)
2.
3. After selected the skin the player will be in duty


Please I need help


Re: Skin Selector [DUTY] - Kruno88 - 24.04.2015

If skin id 200 is the admin skin.(example)

Код:
playerskin = GetPlayerSkin(playerid); //on the top


if(playerskin == 200); //When player chooses from the skin selection
{
//Do something)
}