mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 08:13:21 +00:00
Added tp alias to setcoords cmd
As requested in Issue 1143.
This commit is contained in:
@@ -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 })
|
xPlayer.setCoords({ x = args.x, y = args.y, z = args.z })
|
||||||
if Config.AdminLogging then
|
if Config.AdminLogging then
|
||||||
ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", {
|
ESX.DiscordLogFields("UserActions", "Set Coordinates /setcoords Triggered!", "pink", {
|
||||||
|
|||||||
Reference in New Issue
Block a user