AddStaticVehicle adds multiple vehicles?
#1

Hey, I'm working on an RP gamemode and I finally got to the part where I thought it was time to start adding vehicles. What I did was start adding vehicles at an airport in Las Venturas and noticed that they were spawning in doubles. So one use of AddStaticVehicle would add two vehicles in the same location instead of one.

pawn Код:
AddStaticVehicle(411, 1652.6920, 1616.6074, 10.4773, 358.3515, 0, 0);
So what I have above is what I have in my script ONCE and it spawns two vehicles. Any ideas? Any help would be great. If you need more information, just ask and I'll give it to you.
Reply
#2

Apparently there's something else in your script causing it. Search around for AddStaticVehicle/CreateVehicle's.
Reply
#3

Yeah, that's the first thing I did... Nothing.
Reply
#4

Check the wiki?
Reply
#5

Checking the wiki really won't help me. I understand the parameters. I've tried all three functions that I know of to add vehicles and they all do it. (CreateVehicle, AddStaticVehicle, AddStaticVehicleEx)
Reply
#6

where are you adding it?
Reply
#7

OnGameModeInit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)