Akku

How to create Persistent Vehicle

4 posts in this topic

Posted (edited)

Hello 

i am struggling to get this PVEH to work the variable are passed in as below 

_car= any vehicle;

_position = position player;

_dir = 180;

_pinCode=1234;

_vehicle = [_car, _position, (random 360), true, _pinCode] call ExileServer_object_vehicle_createPersistentVehicle;
    _vehicle setVariable ["ExileOwnerUID",_uid];
    _vehicle setVariable ["ExileIsLocked",0];
    _vehicle lock 0;

can any one help in this regard ?

thanks in advance 

Edited by Akku

Share this post


Link to post
Share on other sites
Advertisement

Yup i looked at that codes also its just not saving in to vehicle data base so its not there after server restart

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.