Help Please :)
#5

Quote:
Originally Posted by [MWR]Blood
Посмотреть сообщение
Filterscripter? Maybe you meant scripter.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    [I][B][SIZE="4"]if (strcmp("/test", cmdtext, true, 5) == 0)[/SIZE][/B][/I]//And it 5 "/test"
    {
        [B][U][SIZE="4"]GetPlayerHealth(playerid, 100);[/SIZE][/U][/B]//Wtf is this??
        SetPlayerArmour(playerid, 100);
        return 1;
    }
    return 0;
}
You were missing some commas and the ;.
I added them for you, it should compile just fine now.
It's should be "Set".
Reply


Messages In This Thread
Help Please :) - by lordturhan - 04.09.2011, 17:50
Re: Help Please :) - by TheLazySloth - 04.09.2011, 17:54
Re: Help Please :) - by =WoR=Varth - 04.09.2011, 17:55
Re: Help Please :) - by [MWR]Blood - 04.09.2011, 17:55
Re: Help Please :) - by =WoR=Varth - 04.09.2011, 17:58
Re: Help Please :) - by lordturhan - 04.09.2011, 17:58
Re: Help Please :) - by TheLazySloth - 04.09.2011, 17:59
Re: Help Please :) - by [MWR]Blood - 04.09.2011, 17:59
Re: Help Please :) - by =WoR=Varth - 04.09.2011, 18:01
Re: Help Please :) - by lordturhan - 04.09.2011, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)