1
0
Fork 0
forked from Simnation/Main
Main/resources/[Developer]/[Mark]/plugin_saltychat/plugin_saltychat_server.lua
2025-06-07 08:51:21 +02:00

19 lines
No EOL
575 B
Lua

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)