Jump to content
  • 0

Static Vehicle Spawns


Loudless

Question

3 answers to this question

Recommended Posts

  • 0

you could spawn them into the mission editor then place the mission file onto your server. but a player wouldn't be able to keep it longer than one restart as they don't get stored in the database.

Link to comment
Share on other sites

  • 0

I started like this:

 

//place vehicle 
_veh = createVehicle ["GLT_M300_LT",[22641.6,19706.7,0.001], [], 0, "CAN_COLLIDE"];
_dir = 0;
_veh setdir _dir;
_veh setVariable ["malsar",1,true];
_veh setpos [22641.6,19706.7,0.001];
// Get position with ground
_objPosition = getPosATL _veh;
clearWeaponCargoGlobal  _veh;
clearMagazineCargoGlobal  _veh;
//Hive
[_veh,[_dir,_objPosition],"GLT_M300_LT",true,"0"] call server_publishVeh;
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...