Problem with a command
#6

If you use this:

pawn Код:
if(IsValidSkin(id))
    {
    SendClientMessage(playerid, COLOR_GRAD2,"You cannot buy this clothes");
    return 1;
    }
It will send you that client message if the skin is valid. Use this, and it will work:

pawn Код:
if(!IsValidSkin(id))
    {
    SendClientMessage(playerid, COLOR_GRAD2,"You cannot buy this clothes");
    return 1;
    }

Reply


Messages In This Thread
Problem with a command - by Ben147 - 02.04.2010, 13:47
Re: Problem with a command - by aircombat - 02.04.2010, 13:48
Re: Problem with a command - by Ben147 - 02.04.2010, 13:51
Re: Problem with a command - by aircombat - 02.04.2010, 13:53
Re: Problem with a command - by Ben147 - 02.04.2010, 13:54
Re: Problem with a command - by Jakku - 02.04.2010, 13:55
Re: Problem with a command - by Ben147 - 02.04.2010, 13:56
Re: Problem with a command - by Ben147 - 02.04.2010, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)