SA-MP Forums Archive
Urgently need help with some errors! - 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: Urgently need help with some errors! (/showthread.php?tid=165045)



Urgently need help with some errors! - homerun621 - 03.08.2010

Hey guys, Anthony here.
I just got a new gamemode, to try it out, and I get these errors when compiling.
I'm really confused on how to fix it..

Код:
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(13223) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(39554) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(39582) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(39610) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(39638) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(39666) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(40352) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(40384) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(40413) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(40442) : error 017: undefined symbol "GetVehicleZone"
C:\Users\Anthony\Desktop\New folder\gamemodes\breakdownls.pwn(40471) : error 017: undefined symbol "GetVehicleZone"
If you guys could help me, PLEASE!
I would really appreciate it



Re: Urgently need help with some errors! - marharth - 03.08.2010

error 017: undefined symbol "GetVehicleZone"

Most likely there is something trying to use "getvehiclezone" as a function when it is not...

You might be missing a include at the top of the script


Re: Urgently need help with some errors! - homerun621 - 03.08.2010

Here are the includes at the top of my script

Код:
#include <a_samp>
#include <core>
#include <float>
#include <time>
#include <file>
#include <utils>
#include <dutils>
#include <a_zones>
#include <Dini>
#include <Souvlaki_AC>
#include <streamer>



Re: Urgently need help with some errors! - marharth - 03.08.2010

Could I ask what gm you are using?

It looks like it is a custom function that should be in a include file or somewhere in the script...


Re: Urgently need help with some errors! - homerun621 - 03.08.2010

I'm actually using this one.


Re: Urgently need help with some errors! - marharth - 03.08.2010

Did you add anything to the script, and if so what?


Re: Urgently need help with some errors! - homerun621 - 03.08.2010

Didn't add anything :/


Re: Urgently need help with some errors! - marharth - 03.08.2010

Try re downloading the file and make sure you put all the includes are in the right place...

Think it has to do with the a_zones and the a_zones.txt


Re: Urgently need help with some errors! - homerun621 - 03.08.2010

Just replaced the files with the re-downloaded ones.

Still having the same errors.


Re: Urgently need help with some errors! - marharth - 03.08.2010

I just tried it and it compiles without error to me..

Can someone else download this and try it?