skin change with command
#3

i have some code now but its wrong...
can u correct me pls?:
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/buyskin", cmdtext, true, 10) == 0)
	{
		if (skinid < 0 || skinid > 299) { SendClientMessage(playerid, COLOR_GREY, " Diesen Skin kannst du nicht nehmen !");
		}
		else if { SetPlayerSkin(playerid, skinid); }
		{
		return 1;
	}
	return 0;
}
i would make when i type the skin id after the command i get this skin id.
Reply


Messages In This Thread
skin change with command - by luma - 30.03.2009, 17:27
Re: skin change with command - by Pyrokid - 30.03.2009, 17:28
Re: skin change with command - by luma - 30.03.2009, 17:48

Forum Jump:


Users browsing this thread: 1 Guest(s)