New SAMP Skins?
#3

Код:
CMD:setskin(playerid, params)
{
	new skinid;
	if(sscanf(params, "i", skinid))
	{
		if(skinid < 0 || skinid > 311) return SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311");
		SetPlayerSkin(playerid, skinid);
	}
	return 1;
}
note, if you can't make such simple thing, search for "SSCANF" and install that too, you need it for this.

(if it doesn't work, replace "return SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311");" with "SendClientMessage(playerid, -1, "Don't go lower than 0, or higher than 311");"
Reply


Messages In This Thread
New SAMP Skins? - by DevinPatino - 03.05.2015, 20:44
Re: New SAMP Skins? - by Dredd - 03.05.2015, 21:48
Re: New SAMP Skins? - by JaydenJason - 03.05.2015, 22:08
Re: New SAMP Skins? - by Patrik356b - 05.05.2015, 07:41
Re: New SAMP Skins? - by J4Rr3x - 05.05.2015, 10:58
Re: New SAMP Skins? - by ZiGGi - 05.05.2015, 15:27
Re: New SAMP Skins? - by Patrik356b - 06.05.2015, 00:23
Re: New SAMP Skins? - by Puppy - 06.05.2015, 00:28
Re: New SAMP Skins? - by Patrik356b - 06.05.2015, 23:26
Re: New SAMP Skins? - by HeLiOn_PrImE - 07.05.2015, 01:47

Forum Jump:


Users browsing this thread: 3 Guest(s)