Our forum is going offline at the end of July. We suggest moving all discussions to Discord. Exile will stay on Steam. Thanks for a great time!
Jump to content
Question
6 answers to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Sign in
Already have an account? Sign in here.
Sign In Now
Hi when i enter my trader cities i get no message that i've entered them, but when i leave i get a message that i left.
how do i fix this
my exileclient_object_player_event_onentersafezone:
/** * ExileClient_object_player_event_onEnterSafezone * * 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["_vehicle","_attachedObjects","_position"]; if (ExilePlayerInSafezone) exitWith { false }; ExilePlayerInSafezone = true; if (alive player) then { player allowDamage false; player removeAllEventHandlers "HandleDamage"; }; _vehicle = vehicle player; if !(_vehicle isEqualTo player) then { if (local _vehicle) then { _vehicle allowDamage false; }; _attachedObjects = attachedObjects _vehicle; if !(_attachedObjects isEqualTo []) then { _position = getPosATL _vehicle; { if ((typeOf _x) in ["DemoCharge_Remote_Mag", "SatchelCharge_Remote_Mag"]) then { detach _x; _x setPosATL [(_position select 0) + random 2, (_position select 1) + random 2, 0.05]; _x setDir (random 360); }; } forEach _attachedObjects; }; ExileClientSafeZoneVehicle = _vehicle; ExileClientSafeZoneVehicleFiredEventHandler = _vehicle addEventHandler ["Fired", {_this call ExileClient_object_player_event_onFiredSafeZoneVehicle}]; }; ExileClientSafeZoneESPEventHandler = addMissionEventHandler ["Draw3D", {20 call ExileClient_gui_safezone_safeESP}]; ["SafezoneEnter"] call ExileClient_gui_notification_event_addNotification; ExileClientSafeZoneUpdateThreadHandle = [1, ExileClient_object_player_thread_safeZone, [], true] call ExileClient_system_thread_addtask; true
my config.cpp (class custom code)
class CfgExileCustomCode { //ExAdClient VirtualGarage ExileServer_system_territory_database_load = "ExAdClient\VirtualGarage\CustomCode\ExileServer_system_territory_database_load.sqf"; //ExAdClient XM8 ExileClient_gui_xm8_slide = "ExAdClient\XM8\CustomCode\ExileClient_gui_xm8_slide.sqf"; ExileClient_gui_xm8_show = "ExAdClient\XM8\CustomCode\ExileClient_gui_xm8_show.sqf"; //Safezone ExileClient_object_player_event_onEnterSafezone = "Overrides\ExileClient_object_player_event_onEnterSafezone.sqf"; //Blocks a vehicle sell glitch that generates endless money! ExileClient_gui_wasteDumpDialog_event_onSellButtonClick = "Overrides\ExileClient_gui_wasteDumpDialog_event_onSellButtonClick.sqf"; //Enigma Deploybike ExileClient_gui_inventory_event_onSlotDoubleClick = "Custom\EnigmaPersonalVehicle\ExileClient_gui_inventory_event_onSlotDoubleClick.sqf"; //EnigmaRevive ExileClient_object_player_death_startBleedingOut = "custom\EnigmaRevive\ExileClient_object_player_death_startBleedingOut.sqf"; //Happys Revive ExileClient_object_player_event_onInventoryOpened = "custom\EnigmaRevive\ExileClient_object_player_event_onInventoryOpened.sqf"; //Happys Revive AntiDupe ---NEW with v0.65 };
Share this post
Link to post
Share on other sites