This commit is contained in:
shoopea 2020-06-21 20:07:24 +02:00
parent dbbe37a6a0
commit 98ce6a06e4

View File

@ -199,9 +199,11 @@ func main() {
if sp.Message == "!unpause" {
logInfoDebug("AdminPacketServerChat : Unpausing")
forcePaused = false
sendChat(-436055948, fmt.Sprintf("Game unpaused by %s", clients[sp.ClientID].Name))
} else if sp.Message == "!pause" {
logInfoDebug("AdminPacketServerChat : Pausing")
forcePaused = true
sendChat(-436055948, fmt.Sprintf("Game paused by %s", clients[sp.ClientID].Name))
} else {
logInfoDebug("AdminPacketServerChat :\n- ActionID: %d\n- DestinationID: %d\n- ClientID: %d\n- Message: %s\n- Amount: %d", sp.ActionID, sp.DestinationID, sp.ClientID, sp.Message, sp.Amount)
}