It works fine by saving by file, but SQL, strtotime() formats the time incorrectly. iTimeLeft value is a lot higher on map change (leading to much longer time for gagged players to be ungagged on map changes).
Code:
span style="color: #800080;">"-- DEBUG: SteamID: %s | Date gagged: %s | length: %i""-- DEBUG: Shortest time: %i"
Code:
] say test
[AMXX GAG] 55 seconds left before your ungag!
] rcon changelevel stadium4
* Privileges set
Sven Co-op 5.25
Server Engine: 5.0.1.7 (build 8948)
Server Number: 193
- Rirre has joined the game.
Rirre has joined the game.
] say test
[AMXX GAG] 2 hours and 40 seconds left before your ungag!
EDIT: Found out it is timezone related as the SQL server is +2 hours.