SA-MP Forums Archive
Cars - 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)
+--- Thread: Cars (/showthread.php?tid=299374)



Cars - Dripac - 25.11.2011

I am scripting a CnR Gamemode, so if anyone can give me car spawns only in Los Santos


Re: Cars - IceCube! - 25.11.2011

They come as default in a SAMP server look in your script files find the folder vehicles then look in there

scriptfiles\vehicles

There are four files there and you might need to add some more


AW: Cars - Dripac - 25.11.2011

mhh do i have to add AddStaticVehicle on each line? -_-


Re: Cars - Georgi166 - 25.11.2011

Yup.....


AW: Cars - Dripac - 25.11.2011

Is there no way to make it like this

Addstaticvehicle
{
And all coordinates there?


Re: Cars - IceCube! - 25.11.2011

No look in the GM's that are in the default GM's they load them from the file...


AW: Re: Cars - Dripac - 25.11.2011

Quote:
Originally Posted by IceCube!
Посмотреть сообщение
No look in the GM's that are in the default GM's they load them from the file...
Which gm? I need cars in los santos and there is only lvdm with cars but they are in LV


Re: Cars - IceCube! - 25.11.2011

GrandLarc


AW: Cars - Dripac - 25.11.2011

I get errors

C:\Users\Stefanche16\Desktop\austria_ga\gamemodes\ austria.pwn(173) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Users\Stefanche16\Desktop\austria_ga\gamemodes\ austria.pwn(174) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Users\Stefanche16\Desktop\austria_ga\gamemodes\ austria.pwn(175) : error 017: undefined symbol "LoadStaticVehiclesFromFile"
C:\Users\Stefanche16\Desktop\austria_ga\gamemodes\ austria.pwn(176) : error 017: undefined symbol "LoadStaticVehiclesFromFile"

I defined it

//edit nvm got it, i needed to #include something

thanks, i give you +rep


Re: Cars - IceCube! - 25.11.2011

Cant remember which it is you neeed it inucde its either

#include <float>

or

#include <core>

And its already created and made in there no need to define