READTHESCROLL

How to spawn non persistent vehicles?

3 posts in this topic

Trying to add vehicles through initServer.sqf. Vehicles show up on the map but when I try and get in one my screen goes black. Also seen other players not able to enter the vehicles. Wish this would work lol

["Exile_Car_Van_Guerilla01",[23389.2,18638.3,0],0,0,0,false] call ExileServer_object_vehicle_createNonPersistentVehicle,

or maybe add this at the bottom.....

if(_object isKindOf "Exile_Car_Van_Abstract") then {

call ExileServer_object_vehicle_createNonPersistentVehicle;

}; 

Share this post


Link to post
Share on other sites

What are you trying to achieve?  Maybe you could just use a custom mapping file to add vehicles to the server.  Doing it this way does mean they are always there, replenished every restart.   I do this on my server for a specific purpose.  Happy to share my file with you if it's what you need.

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.