SA-MP Forums Archive
amx error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: amx error (/showthread.php?tid=123217)



amx error - TheGtaLover - 24.01.2010

okay, my .pwn file complies good, i start server.
it says this:
Script[gamemodes/SRP2.amx]: run time error 19: "File or function is not found"? help?



Re: amx error - [HiC]TheKiller - 24.01.2010

Add
pawn Код:
main()
{
}
To your script .


Re: amx error - TheGtaLover - 24.01.2010

uhm, where.(nub question:;/)


Re: amx error - bluray - 24.01.2010

after your includes and fowards, but before your defines.
Код:
}

public OnFilterScriptExit()
{
	return 1;
}

#else

main() //HERE IS WHERE U PUT THE MAIN THING IF NOT ALREADY THERE
{
	print("\n----------------------------------");
	print(" Pulished by Ray");
	print("----------------------------------\n");
}

//Colours

	#define COLOR_GREY 0xAFAFAFAA
	#define COLOR_GREEN 0x33AA33AA
	#define COLOR_BRIGHTRED 0xFF0000AA