ZCMD unusually problem
#2

pawn Код:
CMD:heal(playerid, params[])
{
    SetPlayerHealth(playerid, 99);
    return 1;
}
You added a semi-colon after defining a zcmd command - which is something you can't do. Whenever you begin the code for a function, the parenthesis (brackets) do not require a semi-colon and will generate a compiler error (unless otherwise defined to do so).
Reply


Messages In This Thread
ZCMD unusually problem - by tbedy - 22.07.2011, 16:24
Re: ZCMD unusually problem - by Calgon - 22.07.2011, 16:26
Re: ZCMD unusually problem - by tbedy - 22.07.2011, 16:30

Forum Jump:


Users browsing this thread: 2 Guest(s)