Pawno errors help
#2

Include a_samp first.

pawn Код:
#define FILTERSCRIPT

#include <a_samp>
#include <zcmd>

#define NDUTYMENU 2222
#define NDUTYMENU2 3333
#define NDUTYMENU3 4444
#define NDUTYMENU4 5555
#define NDUTYMENU5 5556

#define COLOR_TWRED 0xFF0000AA

...

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Epic Script");
    print("--------------------------------------\n");
    return 1;
}

...

CMD:Sng(playerid, params[])
{
    if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11)
    {
        if(IsPlayerInRangeOfPoint(playerid,952.8961 -2841.2974 2.5812)
        {
            ShowPlayerDialog(playerid, NGMENU, DIALOG_STYLE_LIST, "National Guard","Duty\nUniforms\nWeapons\nUndercover\nClear Suspect\nKevlar Vest\nFirst Aid Kit\nAccessories", "Select", "Cancel");
        }
        else SendClientMessageEx(playerid, COLOR_TWRED, "You are not in range of you're NG seabase lockers!");
    }
    return 1;
}
Replace ... with declarations, callbacks or whatever you want.
Reply


Messages In This Thread
Pawno errors help - by Zin - 11.01.2014, 11:22
Re: Pawno errors help - by Konstantinos - 11.01.2014, 11:28
Re: Pawno errors help - by Zin - 11.01.2014, 11:34
Re: Pawno errors help - by Konstantinos - 11.01.2014, 11:37

Forum Jump:


Users browsing this thread: 2 Guest(s)