Need help with a easy command.
#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;
	}
Reply
#2

pawn Код:
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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)