Difference between revisions of "SET TIME OF DAY"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |np=2 |p1t=integer |p1d=hour |p2t=integer |p2d=minute }} This native set time of the game. For Example: SET_TIME_OF_DAY (08, 00); It means that game time will be...")
 
m (0 is the octal prefix in C-based languages, 08 is not a valid octal number)
 
Line 10: Line 10:
  
 
For Example:
 
For Example:
  SET_TIME_OF_DAY (08, 00);
+
  SET_TIME_OF_DAY (8, 0);
  
 
It means that game time will be at 08:00 am
 
It means that game time will be at 08:00 am

Latest revision as of 02:54, 26 June 2020

SET_TIME_OF_DAY
Number of parameters: 2
Parameter #TypeDescription
1.integerhour
2.integerminute
Return value:
TypeDescription
None

This native set time of the game.

For Example:

SET_TIME_OF_DAY (8, 0);

It means that game time will be at 08:00 am