Skip to content

Commit

Permalink
fix(server): proper event name
Browse files Browse the repository at this point in the history
  • Loading branch information
ChatDisabled committed Mar 17, 2024
1 parent 93fa377 commit c2000bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ lib.addCommand('noclip', {
help = 'Toggle NoClip',
restricted = config.noclip,
}, function(source)
TriggerClientEvent('qbx_admin:client:noclip', source)
TriggerClientEvent('qbx_admin:client:ToggleNoClip', source)
end)

lib.addCommand('names', {
Expand Down

0 comments on commit c2000bf

Please sign in to comment.