error 010: invalid function or declaration
#2

Here is your problem.
pawn Код:
public BanPublic(playerid) { Ban(playerid); };
Remove the ; sign at the end.

Like this
pawn Код:
forward BanPublic(playerid);
public BanPublic(playerid) { Ban(playerid); }

BanWithMessage(playerid, message[])
{
    SendClientMessage(playerid, 0xFF0000FF, message);
    SetTimerEx("BanPublic", 1000, 0, "d", playerid);
    return 1;
}
Reply


Messages In This Thread
error 010: invalid function or declaration - by lulo356 - 12.12.2013, 21:25
Re: error 010: invalid function or declaration - by Tayab - 12.12.2013, 21:52

Forum Jump:


Users browsing this thread: 1 Guest(s)