Commands doesn't work.
#10

Quote:
Originally Posted by zohartrejx
Посмотреть сообщение
Affan just replace with this one

pawn Код:
if (strcmp("/healme", cmdtext, true) == 0)
    {
        SetPlayerHealth(playerid,100);
        return 1;
    }
It's the exact same thing that i've given him it doesn't work can't you read ?
He probably already has the /healme command because it should work just fine.
p.s:
Quote:
Originally Posted by zohartrejx
Посмотреть сообщение
}
if (strcmp("/healme", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_RED, "Suscefully Healed.");
SetPlayerHealth(playerid, 100);
return 1;
That won't work.. because /healme doesn't have 10 chars and also you misspelled " Suscefully "
And the brackets.
Reply


Messages In This Thread
Commands doesn't work. - by Affan - 02.01.2013, 16:21
Re: Commands doesn't work. - by InfiniTy. - 02.01.2013, 16:28
Re: Commands doesn't work. - by Affan - 02.01.2013, 16:35
Re: Commands doesn't work. - by InfiniTy. - 02.01.2013, 16:37
Re: Commands doesn't work. - by Affan - 02.01.2013, 16:37
Re: Commands doesn't work. - by Faisal_khan - 02.01.2013, 16:38
Re: Commands doesn't work. - by zohartrejx - 02.01.2013, 16:39
Re: Commands doesn't work. - by Affan - 02.01.2013, 16:41
Re: Commands doesn't work. - by zohartrejx - 02.01.2013, 16:42
Re: Commands doesn't work. - by InfiniTy. - 02.01.2013, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)