Util commands

Delete all vehicles, peds or objects known to the server
This commit is contained in:
Kakarot
2023-11-08 04:40:47 -06:00
parent 4149582c44
commit 37976edc22
2 changed files with 49 additions and 21 deletions
+24 -21
View File
@@ -1,23 +1,23 @@
local Translations = {
error = {
not_online = 'Player not online',
wrong_format = 'Incorrect format',
missing_args = 'Not every argument has been entered (x, y, z)',
missing_args2 = 'All arguments must be filled out!',
no_access = 'No access to this command',
company_too_poor = 'Your employer is broke',
item_not_exist = 'Item does not exist',
too_heavy = 'Inventory too full',
location_not_exist = 'Location does not exist',
duplicate_license = '[QBCORE] - Duplicate Rockstar License Found',
no_valid_license = '[QBCORE] - No Valid Rockstar License Found',
not_whitelisted = '[QBCORE] - You\'re not whitelisted for this server',
server_already_open = 'The server is already open',
server_already_closed = 'The server is already closed',
no_permission = 'You don\'t have permissions for this..',
no_waypoint = 'No Waypoint Set.',
tp_error = 'Error While Teleporting.',
connecting_database_error = '[QBCORE] - A database error occurred while connecting to the server. (Is the SQL server on?)',
not_online = 'Player not online',
wrong_format = 'Incorrect format',
missing_args = 'Not every argument has been entered (x, y, z)',
missing_args2 = 'All arguments must be filled out!',
no_access = 'No access to this command',
company_too_poor = 'Your employer is broke',
item_not_exist = 'Item does not exist',
too_heavy = 'Inventory too full',
location_not_exist = 'Location does not exist',
duplicate_license = '[QBCORE] - Duplicate Rockstar License Found',
no_valid_license = '[QBCORE] - No Valid Rockstar License Found',
not_whitelisted = '[QBCORE] - You\'re not whitelisted for this server',
server_already_open = 'The server is already open',
server_already_closed = 'The server is already closed',
no_permission = 'You don\'t have permissions for this..',
no_waypoint = 'No Waypoint Set.',
tp_error = 'Error While Teleporting.',
connecting_database_error = '[QBCORE] - A database error occurred while connecting to the server. (Is the SQL server on?)',
connecting_database_timeout = '[QBCORE] - Connection to database timed out. (Is the SQL server on?)',
},
success = {
@@ -41,9 +41,9 @@ local Translations = {
tp = {
help = 'TP To Player or Coords (Admin Only)',
params = {
x = { name = 'id/x', help = 'ID of player or X position'},
y = { name = 'y', help = 'Y position'},
z = { name = 'z', help = 'Z position'},
x = { name = 'id/x', help = 'ID of player or X position' },
y = { name = 'y', help = 'Y position' },
z = { name = 'z', help = 'Z position' },
},
},
tpm = { help = 'TP To Marker (Admin Only)' },
@@ -76,6 +76,9 @@ local Translations = {
},
},
dv = { help = 'Delete Vehicle (Admin Only)' },
dvall = { help = 'Delete All Vehicles (Admin Only)' },
dvp = { help = 'Delete All Peds (Admin Only)' },
dvo = { help = 'Delete All Objects (Admin Only)' },
givemoney = {
help = 'Give A Player Money (Admin Only)',
params = {