mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
removed debug code
This commit is contained in:
@@ -520,15 +520,6 @@ function commandInit()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
commands.add_command('autoMessage','Sends the auto message to all players',function(event) autoMessage() end)
|
commands.add_command('autoMessage','Sends the auto message to all players',function(event) autoMessage() end)
|
||||||
--debug
|
|
||||||
commands.add_command('debugPrint','just for testing',function(event)
|
|
||||||
if event.player_index then else return end
|
|
||||||
local byPlayer = game.players[event.player_index]
|
|
||||||
byPlayer.print(('Event = '..table.tostring(event)))
|
|
||||||
if event.parameter then else byPlayer.print('NIL') return end
|
|
||||||
local args = {} for word in event.parameter:gmatch('%S+') do table.insert(args,word) end
|
|
||||||
byPlayer.print(('Arguments = '..table.tostring(args)))
|
|
||||||
end)
|
|
||||||
--base layout for all commands
|
--base layout for all commands
|
||||||
commands.add_command('onlineTime','<player_name> Get a players online time',function(event)
|
commands.add_command('onlineTime','<player_name> Get a players online time',function(event)
|
||||||
if event.player_index then --is it a player or the server
|
if event.player_index then --is it a player or the server
|
||||||
|
|||||||
Reference in New Issue
Block a user