fixed return on actions

This commit is contained in:
gononono64 committed 2025-02-06 21:54:26 -06:00
1 parent 55d81c7039
commit a3e3622e3b
1 file changed
+3 -1
+3 -1
View File
@@ -16,7 +16,7 @@ function Action.Fire(id, players, ...)
TriggerClientEvent(GetCurrentResourceName() .. "client:Action", tonumber(players or -1), id, ...)
end
if IsDuplicityVersion() then return end
if IsDuplicityVersion() then return Actions end
::client::
function Action.Create(id, action)
@@ -43,5 +43,7 @@ RegisterNetEvent(GetCurrentResourceName() .. "client:Action", function(id, ...)
action(...)
end)
exports("Action", Action)
return Action