Skip to content

Commit

Permalink
Added tp alias to setcoords cmd
Browse files Browse the repository at this point in the history
As requested in Issue 1143.
  • Loading branch information
Kenshiin13 committed Aug 18, 2023
1 parent e51aaae commit c279b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [core]/es_extended/server/commands.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ESX.RegisterCommand('setcoords', 'admin', function(xPlayer, args)
ESX.RegisterCommand({'setcoords', 'tp'}, 'admin', function(xPlayer, args)
xPlayer.setCoords({ x = args.x, y = args.y, z = args.z })
if Config.AdminLogging then
ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", {
Expand Down

0 comments on commit c279b4e

Please sign in to comment.