11.01.2014, 11:28
Include a_samp first.
Replace ... with declarations, callbacks or whatever you want.
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;
}