#1

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

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
Reply
#3

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

Yup.....
Reply
#5

Is there no way to make it like this

Addstaticvehicle
{
And all coordinates there?
Reply
#6

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

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
Reply
#8

GrandLarc
Reply
#9

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)