Runtime Error
#1

Hello, Im having problems with my gamemode script all of a sudden an I need some help.

I am getting one error

Код HTML:
C:\Users\Josh\Desktop\Server422 - Copy\gamemodes\NGRP2.pwn(11) : fatal error 100: cannot read from file: "foreach"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
If I get rid of foreach I get another error

Код HTML:
C:\Users\Josh\Desktop\Server422 - Copy\gamemodes\NGRP2.pwn(11) : fatal error 100: cannot read from file: "yom_buttons"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Then I just keep getting errors from there on if I don't fix foreach.

Код HTML:
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <audio>
Please help me
Reply
#2

Sorry for bumping, but I really need help
Reply
#3

Am sure that you went to your script and double clicked to open it, well try this
Go to your pawno folder (the one that has the includes) open the pawno.exe, use it to open your script and then compile.
Reply
#4

Ill give it a try, thanks for the reply!
Reply
#5

That was it! Thank you alot! But I'm getting a runtime error now in my console

Script[Gamemode/NGRP2.amx]: Run time error 19 : "File or function is not found"
Reply
#6

Make sure your plugins are up to date.

And make sure you have this in your gamemode :

pawn Код:
main() {}
Reply
#7

Thanks, what should I put it under in the gamemode? and is there a way I can possibly upgrade my script so it's compatible with 0.3x?
Reply
#8

If you are missing main() {} put it Before OnGameModeInIt.
Reply
#9

Damn. It isn't it because I already have it
Reply
#10

Is it because my script is 0.3e not 0.3x?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)