23.01.2010, 23:21
Код:
if (strcmp("/test", cmdtext, true, 10) == 0) { // How do you change it, so that only if a player has a certain skin ID then this command will work? return 1; }
if (strcmp("/test", cmdtext, true, 10) == 0) { // How do you change it, so that only if a player has a certain skin ID then this command will work? return 1; }
if(!strcmp("/test", cmdtext, true))
{
if(GetPlayerSkin(playerid) == /*Whatever skin id*/)
{
//This code will only be called if the player has desired skin
}
return 1;
}