HexscriptsClassicSyncIntegrations
WS Lootdrops V2
Here you will get the full Integration guide to setup our Sync with WS FFA V1 / V2.
WS LootDrops V2
To make our Sync compatible with WS LootDrops V2, follow these steps:
hex_sync version
Make sure you are using hex_sync version 1.1.7 or higher.
Open the ws_base config
Open the configs/cl_config.lua file in ws_base
Copy code
Copy the Compatible code and paste it into bottom config.
if not IsDuplicityVersion() then
local _TriggerServerEvent = TriggerServerEvent
TriggerServerEvent = function(...)
local eventArgs = { ... }
local eventName = eventArgs[1]
if GetResourceState('hex_sync') == 'started' then
if eventName == 'ws_base:onPlayerDeath' then return end
end
return _TriggerServerEvent(...)
end
RegisterNetEvent('hex_sync:onPlayerDeath', function(data)
_TriggerServerEvent('ws_base:onPlayerDeath', data)
end)
endRestart Server
Restart your server to apply the changes.