I have the script code, now how do I actually use it?
So I stumbled upon some code to let me open locked vehicles on epoch.
Here is the code:
I tried just putting it into an sqf file and executing it with cheat engine, but that didn't appear to work. Any help would be appreciated!
Here is the code:
Code:
_ct = cursorTarget;
if (!isNull _ct) then
{
_obj = vehicle player;
if ((_ct isKindOf "AllVehicles") && (locked _ct)) then {_ct lock false;};
if ((_obj != player) && (_obj isKindOf "AllVehicles") && (locked _obj)) then {_obj lock false;};
{
_ct animate [_x,1];
} forEach ["Open_hinge","Open_latch","Lights_1","Lights_2","Open_door","DoorR","LeftShutter","RightShutter"];
};