• 0
Sign in to follow this  
Followers 0
[CK]Pinelli

VEHICLES LOCK AFTER RESTART

Question

Hello, I would like the vehicles to lock before starting the rest after rebooting. it's possible ?

sorry for my english i use google translate

thanks for you help

Share this post


Link to post
Share on other sites

1 answer to this question

  • 0

in ExileServer_object_vehicle_database_load after (around line 20):

_lock = (_data select 4);
_unlockInSafeZonesAfterRestart = (getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "unlockInSafeZonesAfterRestart")) isEqualTo 1;
_isLocked = (_lock isEqualTo -1);

---- HERE --- put this:

//LOCK ALL VEHICLES in territory after restart
if (_position call ExileClient_util_world_isInTerritory) then
{
_isLocked = true;
};

:)

do you mean that?

Edited by yesyesjo

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
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.