Pawno errors help
#1

Im making some Lockers for my faction but i get these errors

Код:
C:\Users\Jackie\Desktop\pawno\include\ZCMD.inc(45) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
C:\Users\Zin\Desktop\pawno\include\ZCMD.inc(47) : error 017: undefined symbol "funcidx"
C:\Users\Zin\Desktop\pawno\include\ZCMD.inc(47) : warning 215: expression has no effect
C:\Users\Zin\Desktop\pawno\include\ZCMD.inc(47) : error 001: expected token: ";", but found ")"
C:\Users\Zin\Desktop\pawno\include\ZCMD.inc(47) : error 029: invalid expression, assumed zero
C:\Users\Zin\Desktop\pawno\include\ZCMD.inc(47) : fatal error 107: too many error messages on one line
Script :

Код:
#define FILTERSCRIPT
#include <ZCMD>
#define NDUTYMENU 2222
#define NDUTYMENU2 3333
#define NDUTYMENU3 4444
#define NDUTYMENU4 5555
#define NDUTYMENU5 5556
#include <a_samp>
#if defined FILTERSCRIPT
#define COLOR_TWRED 0xFF0000AA


public OnFilterScriptInit()
{
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!");
		}
	}	print("\n--------------------------------------");
	print(" Epic Script");
	print("--------------------------------------\n");
	return 1;
}

public OnFilterScriptExit()
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: 3 Guest(s)