mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-17 14:25:27 +09:00
Fixed Server using commands Bug
This commit is contained in:
1 parent
cfaa80d153
commit
89b9d8e164
5 files changed
+23
-13
No files matched your search
@@ -4,5 +4,6 @@ Commands.new_command('me','Sends an action message in the chat')
|
||||
:add_param('action',false) -- action that is done by the player, just text its meaningless
|
||||
:enable_auto_concat()
|
||||
:register(function(player,action,raw)
|
||||
game.print(string.format('* %s %s *',player.name,action),player.chat_color)
|
||||
local player_name = player and player.name or '<Server>'
|
||||
game.print(string.format('* %s %s *',player_name,action),player.chat_color)
|
||||
end)
|
||||
Reference in new issue
Block a user