Update tp.lua

This commit is contained in:
Jonathan Baumgardner
2018-03-12 22:41:39 -05:00
committed by GitHub
parent 72ec302a6f
commit 951c687079

View File

@@ -8,14 +8,14 @@ Discord: https://discord.gg/r6dC2uK
]]
--Please Only Edit Below This Line-----------------------------------------------------------
commands.add_command('go-to', 'Go to a player\'s location', {'player'}, function(event,args)
commands.add_command('go-to', 'Go to a player\'s location.', {'player'}, function(event,args)
local player = Game.get_player(args.player)
if not player then player_return({'commands.invalid-player',args.player}) return commands.error end
Admin.go_to(player,event)
end)
commands.add_command('bring', 'Bring a player to your location', {'player'}, function(event,args)
commands.add_command('bring', 'Bring a player to your location.', {'player'}, function(event,args)
local player = Game.get_player(args.player)
if not player then player_return({'commands.invalid-player',args.player}) return commands.error end
Admin.bring(player,event)
end)
end)