#1

Why i have error for this
Untitled.png
Reply
#2

pawn Code:
CMD:robthis(playerid, params[])
{
    #pragma unused params
    if(IsPlayerInDynamicCP(playerid, CP_cityhallrob))
    {
        if(cityhallrobrobbedrecently >= 1)
        {
            SendClientMessage(playerid, COLOR_RED, "Tatoo shop has been robbed recently!");
            return 1;
        }
        SetTimer("robbedrecently", 180000, false);
        ROBBING_cittyhallrob[playerid] = 60;
        cityhallrobrobbedrecently = 180;
    }
    return 1;
}
Reply
#3

Allign everything properly, as you see return 1; should allign with SendClientMessage. And the SetTimer should allign with the }.
Start of by doing that, then show the other errors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)