local pluginData = { name = "saltychat_plugin", description = "Saltychat Plugin for ARE", author = "Marcel135", version = "1.0" } RegisterServerPlugin(pluginData, function(print) print("Saltychat ARE Plugin loaded") RegisterNetEvent('saltychat_plugin:setDeathStatus') AddEventHandler('saltychat_plugin:setDeathStatus', function(isDead) if isDead then exports["saltychat"]:SetPlayerAlive(source, false) else exports["saltychat"]:SetPlayerAlive(source, true) end end) end)