Repository navigation
GetChronoTimeZone
imshooter edited this page Nov 26, 2026
·
1 revision
The time zone of the server.
native bool:GetChronoTimeZone(output[], size = sizeof (output));| Parameter | Description |
|---|---|
output[] |
Array for the name of the zone. |
size |
Size of the array. |
-
truewhen it was written. -
falsewhen the array has no room.
It writes UTC when the machine has no time zones.
stock ShowTimeZone(playerid) {
new
zone[40]
;
GetChronoTimeZone(zone);
SendClientMessage(playerid, -1, "The server keeps time in %s.", zone);
}- SetChronoTimeZone: Change the time zone of the server.
Chrono 0.2.0 · Repository · Releases · MIT License
Guides
Reference
Functions