fixed return on actions
This commit is contained in:
1 parent
55d81c7039
commit
a3e3622e3b
1 file changed
+3
-1
@@ -16,7 +16,7 @@ function Action.Fire(id, players, ...)
|
|||||||
TriggerClientEvent(GetCurrentResourceName() .. "client:Action", tonumber(players or -1), id, ...)
|
TriggerClientEvent(GetCurrentResourceName() .. "client:Action", tonumber(players or -1), id, ...)
|
||||||
end
|
end
|
||||||
|
|
||||||
if IsDuplicityVersion() then return end
|
if IsDuplicityVersion() then return Actions end
|
||||||
::client::
|
::client::
|
||||||
|
|
||||||
function Action.Create(id, action)
|
function Action.Create(id, action)
|
||||||
@@ -43,5 +43,7 @@ RegisterNetEvent(GetCurrentResourceName() .. "client:Action", function(id, ...)
|
|||||||
action(...)
|
action(...)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
exports("Action", Action)
|
||||||
|
return Action
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user