[Tutorial] How to change your skin with just one command!
#8

Quote:
Originally Posted by JnLGaming
View Post
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/skin", cmdtext, true, 10) == 0)
	{
		SetPlayerSkin(playerid, 264);//This will change your skin to 264, which is the clown skin.
		return 1;
	}
	return 0;
}
The lenght of /skin is not 10. You should change it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)