SA:MP Skin ID ? +Rep
#1

How to get the skinid of a player using stock or a function?
I used the 'modelid' variable of public OnPlayerModelSelection(playerid, response, listid, modelid), but on game show a long number and not the id of the skin of the player, how can i fix it?

if(listid == skinlist)
{
if(response)
{
SetPlayerSkin(playerid, modelid);
SendClientMessage(playerid, green, "- Skin successufly changed to ID: %d for 200$ -", HERE);
GivePlayerMoney(playerid, -200);
}
else SendClientMessage(playerid, red, "Skin selection aborted");

Thanks to all,
Rodrigo Dionigi aka 'Rodri'
Reply


Messages In This Thread
SA:MP Skin ID ? +Rep - by Rodri99 - 20.06.2015, 09:10
Re: SA:MP Skin ID ? +Rep - by UltraScripter - 20.06.2015, 09:17
Re: SA:MP Skin ID ? +Rep - by Rodri99 - 20.06.2015, 09:19
Re: SA:MP Skin ID ? +Rep - by Rodri99 - 20.06.2015, 09:23
Re: SA:MP Skin ID ? +Rep - by UltraScripter - 20.06.2015, 09:23
Re: SA:MP Skin ID ? +Rep - by Rodri99 - 20.06.2015, 09:26
Re: SA:MP Skin ID ? +Rep - by UltraScripter - 20.06.2015, 09:28
Re: SA:MP Skin ID ? +Rep - by Rodri99 - 20.06.2015, 09:28
Re: SA:MP Skin ID ? +Rep - by DavidSparks - 20.06.2015, 09:29
Re: SA:MP Skin ID ? +Rep - by Rodri99 - 20.06.2015, 09:31

Forum Jump:


Users browsing this thread: 2 Guest(s)