Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 014E

Opcode Database

014E

DescriptionCreates an onscreen timer. The game will use the global variable passed to read and write the time. This will not work with local variables. Only one timer can exist at once.

The direction flag sets whether the timer should count down or up.

0 - Up
1 - Down


If counting down, the timer will clear once it reaches 0.
Parameters (v2)1) Timer value (Global variable) (VAR_INT)
2) Boolean (1 or 0) (INT)
Gamessa vc iii
CategoryCommon
Command Name (IV)DISPLAY_ONSCREEN_TIMER
San Andreas
sascm.ini014E=2,display_onscreen_timer %1d% count_up %2h% ; global_variable
Example014E: display_onscreen_timer $7234 count_up 1 // global_variable
Command NameDISPLAY_ONSCREEN_TIMER
Vice City
sascm.ini014E=2,start_timer_at %1d% count_in_direction %2h%
Example014E: start_timer_at $3677 count_in_direction 1
Command NameDISPLAY_ONSCREEN_TIMER
GTA III
gtascm.ini014E=1,start_timer_at %1d%
Example014E: start_timer_at $COUNTDOWN_TIME1
Command NameDISPLAY_ONSCREEN_TIMER

<< 014D

014F >>