Quote:
Originally Posted by JnLGaming
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.