Files
Elite-Gaming-FiveM/resources/jraxion_handlingeditor/server/server.lua
T
KingMcDonalds c22243d4cc Revert "fixing ers"
This reverts commit e520d9a1a3a11d830a2bab82b9161f4ddb900cad.
2025-11-06 00:20:51 -08:00

16 lines
483 B
Lua

while GetCurrentResourceName() ~= "jraxion_handlingeditor" do
Wait(2000)
print("Make sure the resource name is jraxion_handlingeditor, it will break the resource if you rename it.")
end
RegisterCommand('handlingeditor', function(source, args, rawCommand)
-- Add your permission system here.
if Config.isAllowed(source) then
TriggerClientEvent('jraxion_handlingeditor:openHandlingEditor', source)
else
print('No permission')
end
end, false)