Repository navigation
SetChronoTimeZone
imshooter edited this page Nov 26, 2026
·
1 revision
Change the time zone of the server.
native bool:SetChronoTimeZone(const zone[]);| Parameter | Description |
|---|---|
const zone[] |
The zone, as "Europe/London", or the zone of the machine when empty. |
-
truewhen it was changed. -
falsewhen there is no such zone.
It takes the place of chrono.time_zone in config.json for every script, until the server restarts.
public OnGameModeInit() {
SetChronoTimeZone("America/New_York");
return 1;
}- GetChronoTimeZone: The time zone of the server.
Chrono 0.2.0 · Repository · Releases · MIT License
Guides
Reference
Functions