HexscriptsClassicSync
Exports
This section lists all client-side and server-side exports in this script. Exports can be called from other scripts to interact with this script functionality.
Note
If you need additional exports for your implementation, please open a ticket on our Discord server.
Client Exports
GetPlayerDeathCause
Returns the hash of the weapon/model/object that killed the ped.
local hash = exports['hex_sync']:GetPlayerDeathCause()Server Exports
GetPlayerDeathCause
Returns the hash of the weapon/model/object that killed the player.
local hash = exports['hex_sync']:GetPlayerDeathCause(playerId)Prop
Type