natives.GET MINUTES TO TIME OF DAY: Difference between revisions

From GTA Connected
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 ped, int value, int value2
|parameters = int hour, int minute
|parameter1 = int ped Target character in the game world.
|parameter1 = int hour Parameter for this function.
|parameter2 = int value Numeric parameter.
|parameter2 = int minute Parameter for this function.
|parameter3 = int value2 A value2 value.
|usage = calculates how many game minutes until the specified time
|usage = retrieves the current minutes to time of day value.
|return1 = void
|return1 = void
|returnFail1 = void
|returnFail1 = void
}}
}}

Latest revision as of 09:17, 12 June 2026

Function Client Only icon-vc.png 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

GTAIII Logo.png gta.hasSeenTimerHelp
GTAIII Logo.png gta.startCountdownTimer
GTAIII Logo.png gta.stopTimer
icon-iv.png gta.time.day
GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png gta.time.hour
GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png gta.time.minute
GTAIII Logo.png icon-vc.png icon-sa.png gta.time.minuteDuration
GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png gta.time.second
GTAIII Logo.png gta.timer
GTAIII Logo.png icon-vc.png icon-sa.png icon-iv.png gta.timeStep