Posts: 1,534
Threads: 179
Joined: Apr 2009
I am scripting a CnR Gamemode, so if anyone can give me car spawns only in Los Santos
Posts: 1,765
Threads: 1
Joined: Aug 2011
Reputation:
0
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
Posts: 1,534
Threads: 179
Joined: Apr 2009
mhh do i have to add AddStaticVehicle on each line? -_-
Posts: 1,534
Threads: 179
Joined: Apr 2009
Is there no way to make it like this
Addstaticvehicle
{
And all coordinates there?
Posts: 1,765
Threads: 1
Joined: Aug 2011
Reputation:
0
No look in the GM's that are in the default GM's they load them from the file...
Posts: 1,534
Threads: 179
Joined: Apr 2009
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
Posts: 1,534
Threads: 179
Joined: Apr 2009
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
Posts: 1,765
Threads: 1
Joined: Aug 2011
Reputation:
0
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