Skip to content

Commit

Permalink
feat: move id command to core
Browse files Browse the repository at this point in the history
* fix: remove id command

* Update README.md
  • Loading branch information
mafewtm authored Nov 13, 2023
1 parent 2b07417 commit 0e6e830
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
###### This resource is now deprecated and will be deconstructed in future releases. No new code will be added.

# qbx_smallresources
Base scripts for QBox Core Framework :building_construction:

Expand Down
6 changes: 0 additions & 6 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@ RegisterNetEvent('tackle:server:TacklePlayer', function(playerId)
TriggerClientEvent('tackle:client:GetTackled', playerId)
end)

lib.addCommand('id', {
help = 'Check Your ID #',
}, function(source)
TriggerClientEvent('QBCore:Notify', source, 'ID: '..source)
end)

exports.qbx_core:CreateUseableItem('harness', function(source, item)
TriggerClientEvent('seatbelt:client:UseHarness', source, item)
end)
Expand Down

0 comments on commit 0e6e830

Please sign in to comment.