mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Update tp.lua
This commit is contained in:
committed by
GitHub
parent
72ec302a6f
commit
951c687079
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user