dekela 129 Report post Posted March 17, 2018 I have a HC server with no traders, so no way of changing a PIN on vehicles. What i am trying to do is have the option to set a new PIN on successful hot wire. This is what i have tried, get the option to set pin on hot wire success, but new pin does not save to database. any ideas thanks Spoiler /** * ExileClient_object_lock_network_hotwireLockRequest * * Exile Mod * exile.majormittens.co.uk * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_vehicleObject","_objectNetId"]; _vehicleObject = objectFromNetId (_this select 0); _object = cursorTarget; _objectNetId = netId _object; if (local _vehicleObject) then { ["InfoTitleOnly", ["Please enter the new PIN!"]] call ExileClient_gui_toaster_addTemplateToast; _newPinCode = 4 call ExileClient_gui_keypadDialog_show; if(_newPinCode isEqualTo "")exitWith {"Exiting with no new PIN." call ExileClient_util_log;}; ["rekeyVehicleRequest",[_vehicleObject,_newPinCode]] call ExileClient_system_network_send; }; Share this post Link to post Share on other sites
Sebas 4 Report post Posted July 26, 2018 hello, its same for me pls. Share this post Link to post Share on other sites
MGTDB 956 Report post Posted July 26, 2018 Not sure if you can call this from client, in which case you will need to pv it to server somehow [_vehicleObject, _newPinCode] call ExileServer_object_vehicle_database_resetCode; Share this post Link to post Share on other sites
Sebas 4 Report post Posted July 26, 2018 Good morning, I'm looking for a command line to put on my flag. Style: class StealFlag: ExileAbstractAction{title = "Steal Flag";condition = "((ExileClientInteractionObject getvariable ['ExileFlagStolen', 1]) isEqualTo 0)";action = "['StealFlag', _this select 0] call ExileClient_action_execute";};But to change the code of the vehicles please. Share this post Link to post Share on other sites
Sebas 4 Report post Posted July 26, 2018 class SetPin: ExileAbstractAction{title = "Reset PinCode";condition = "((ExileClientInteractionObject getvariable ['ExileNewPinCode', 1]) isEqualTo 0)";action = "[_vehicleObject, _newPinCode] call ExileServer_object_vehicle_database_resetCode";}; these good like that? Share this post Link to post Share on other sites