[Clothing System]
#4

Код:
CMD:setskin(playerid,params[])
{
	new id;
	if(sscanf(params,"i",id)) return SendClientMessage(playerid,red,"USAGE:/setskin [skin id]");
	SetPlayerSkin(playerid, id);
	GivePlayerMoney(playerid, -500);
	if(GetPlayerSkin(playerid) == id) SendClientMessage(playerid,COLOR_ORANGE,"*Skin changed.");
	else SendClientMessage(playerid,red,"Invalid skin id.");
	return 1;
}
just change the cmd name to what ever you like
Reply


Messages In This Thread
[Clothing System] - by Drza - 06.04.2011, 15:21
Re: [Clothing System] - by Stigg - 06.04.2011, 17:03
Re: [Clothing System] - by Drza - 07.04.2011, 09:50
Re: [Clothing System] - by THE_KNOWN - 07.04.2011, 09:54
Re: [Clothing System] - by Drza - 07.04.2011, 11:18
Re: [Clothing System] - by Drza - 08.04.2011, 09:39
Re: [Clothing System] - by [DJ]Boki - 08.04.2011, 09:41
Re: [Clothing System] - by Drza - 08.04.2011, 10:58
Re: [Clothing System] - by [BKR]LUCAGRABACR - 08.04.2011, 12:30
Re: [Clothing System] - by Malcor - 08.04.2011, 15:20

Forum Jump:


Users browsing this thread: 1 Guest(s)