NEED help with 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: NEED help with errors (
/showthread.php?tid=92343)
NEED help with errors -
cozza123456 - 19.08.2009
C:\Users\Joe\Desktop\New SampServer\gamemodes\GTAFREEMODE.pwn(37) : error 017: undefined symbol "AddVehicles"
C:\Users\Joe\Desktop\New SampServer\gamemodes\GTAFREEMODE.pwn(18

: error 021: symbol already defined: "AddStaticVehicle"
line
37 AddVehicles();
188 AddStaticVehicle(520,-1408.4958,495.9919,18.9454,314.9785,0,0); //
pleas HELP
Re: NEED help with errors -
SpiderPork - 19.08.2009
Define AddVehicles then, and put AddStaticVehicle under OnGameModeInit...
I bet you just copied this from another gamemode.
Re: NEED help with errors -
cozza123456 - 19.08.2009
copied off my m8s script, im on his acc on forum
Re: NEED help with errors -
James_Alex - 19.08.2009
cuz you haven't used "new AddVehicles"
then do not use "public AddStaticVehicle"
it's already defined
Re: NEED help with errors -
HuRRiCaNe - 19.08.2009
you arent putting addstaticvehicle under game mode init and you are not defining the addvehicles.