[FIXED]Can't compile my script.
#1

So I installed the 0.3 server package, with the new includes and stuff.
Commented out "public OnPlayerPrivmsg(playerid, recieverid, text[])"
Removed "SetDisabledWeapons(43,44,45);" & "EnableTirePopping(1);"
Commented out all "SetVehicleParamsForPlayer(GetPlayerVehicleID(play erid),i, 0, 1);"
But it seems no matter what I do, the compiler will crash when trying to compile the script.
Am I missing something?

The script would compile perfectly just before adding the new stuff.
Reply
#2

Quote:

Commented out "public OnPlayerPrivmsg(playerid, recieverid, text[])"

You will need to comment out the rest of that callback, as well...
Reply
#3

Yeah I did do that.
Just tried compiling some of the new gamemodes, also without any problems.
So it must be something in my script, or?
Reply
#4

Ensure you are running the PAWN executable from the new 0.3 server package (I know it seems basic but some people used the old one).

Also, make sure any INC files you use are in the "\pawno\include" dir (if you use extra ones like DINI they need to go in there).

If you still have problems then maybe I could try and compile it for you to see if I get the same error.

Reply
#5

I can get to this error.
dini.inc(24) : fatal error 100: cannot read from file: "dutils"
But whenever i add "dutils.inc" to the include folder, it crashes when compiling.

I tried creating a whole new folder, and placing the files there. But no cigar.

Matite - I'll send my GM by PM, if that's ok.

EDIT: Fixed. I was using a include that wasn't ready for 0.3.
Thanks Matite.

Reply
#6

For reference, this problem was being caused by the seif_vehicles INC file which needs an update for 0.3

Please lock.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)