Jump to content
×
×
  • Create New...

Call out vehicle spawning on top of each other


Reason for Locking
Solved

By TheCipher01, on 07/10/20 10:36 PM.

Recommended Posts

For the life of me I can not figure out how to stop the cars from spawning on each other.

policecar = await SpawnVehicle(VehicleHash.Sheriff, Location); 

is what i'm using but if i add a new vector i get an error or does not spawn.

It would be awesome if i can get info on whats going on here.

20200710062129_1.jpg

Link to post
Share on other sites

What I do, and this might not be right or there might be an easier/better way to do it and if so someone can feel free to correct me, is this:

car1 = await SpawnVehicle(VehicleHash.Buffalo, Location);
car2 = await SpawnVehicle(VehicleHash.Dominator, Location +2f)'

 

TheCipher01

Community Administrator

Link to post
Share on other sites
3 hours ago, TheCipher01 said:

What I do, and this might not be right or there might be an easier/better way to do it and if so someone can feel free to correct me, is this:


car1 = await SpawnVehicle(VehicleHash.Buffalo, Location);
car2 = await SpawnVehicle(VehicleHash.Dominator, Location +2f)'

 

 

That did not work for me. I gone up and down with that heading number and the cars did not move for me.

20200710180104_1.jpg

Link to post
Share on other sites

 

suspectCar1 = await SpawnVehicle(model1, Location);
suspectCar2 = await SpawnVehicle(model2, new Vector3(Location.X + 9f, Location.Y, Location.Z));

edit the 9 to something smaller if needed, i did this for an older callout of mine and have had no problems. 

Edited by Dominic1337
  • Like 1
Link to post
Share on other sites
5 minutes ago, Dominic1337 said:

 


suspectCar1 = await SpawnVehicle(model1, Location);
suspectCar2 = await SpawnVehicle(model2, new Vector3(Location.X + 9f, Location.Y, Location.Z));

edit the 9 to something smaller if needed, i did this for an older callout of mine and have had no problems. 

that worked!!

thanks bro!

I'm new to all this lol

  • Like 2
Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.