Difference between revisions of "PRINT HELP"

From GTAMods Wiki
Jump to navigation Jump to search
(Function description and usage)
 
m
Line 8: Line 8:
  
 
== Description ==
 
== Description ==
This function prints an entry from a GTX table in a ''help box'' (black rectangle at the top right corner of the screen). Before calling this function you must load its corresponding table using [[LOAD_ADDITIONAL_TEXT]]. If the second parameter doesn't match the name of an entry nothing will be printed.
+
This function prints an entry from a GTX table in a ''help box'' (black rectangle at the top right corner of the screen) that disappears shortly. If you want to manage the time it takes for it to disappear you should use [[PRINT_HELP_FOREVER]]. Before calling this function you must load its corresponding table using [[LOAD_ADDITIONAL_TEXT]]. If the second parameter doesn't match the name of an entry nothing will be printed.

Revision as of 17:25, 9 January 2015

PRINT_HELP
Number of parameters: 1
Parameter #TypeDescription
1.char pointerthe name of an entry in a GXT table
Return value:
TypeDescription
None


Description

This function prints an entry from a GTX table in a help box (black rectangle at the top right corner of the screen) that disappears shortly. If you want to manage the time it takes for it to disappear you should use PRINT_HELP_FOREVER. Before calling this function you must load its corresponding table using LOAD_ADDITIONAL_TEXT. If the second parameter doesn't match the name of an entry nothing will be printed.