natives.GET MINUTES TO TIME OF DAY: Difference between revisions
Jump to navigation
Jump to search
(Add ScriptItem documentation from GTA VC SCM decompile) |
(Add ScriptItem documentation from GTA VC SCM decompile) |
||
| Line 4: | Line 4: | ||
|type = function | |type = function | ||
|name = natives.GET_MINUTES_TO_TIME_OF_DAY | |name = natives.GET_MINUTES_TO_TIME_OF_DAY | ||
|parameters = int | |parameters = int hour, int minute | ||
|parameter1 = int | |parameter1 = int hour Parameter for this function. | ||
|parameter2 = int | |parameter2 = int minute Parameter for this function. | ||
|usage = calculates how many game minutes until the specified time | |||
|usage = | |||
|return1 = void | |return1 = void | ||
|returnFail1 = void | |returnFail1 = void | ||
}} | }} | ||
Latest revision as of 09:17, 12 June 2026
Function Client Only ![]()
Online and Offline
Available since Client 1.0.0
void natives.GET_MINUTES_TO_TIME_OF_DAY(int hour, int minute)
The natives.GET_MINUTES_TO_TIME_OF_DAY function is used to calculates how many game minutes until the specified time.
Parameters
| 1) | int | hour | Parameter for this function. |
| 2) | int | minute | Parameter for this function. |
Return
| void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Client Related
gta.hasSeenTimerHelp
gta.startCountdownTimer
gta.stopTimer
gta.time.day
gta.time.hour
gta.time.minute
gta.time.minuteDuration
gta.time.second
gta.timer
gta.timeStep