Difference between revisions of "PRINT HELP"

From GTAMods Wiki
Jump to navigation Jump to search
m
m (The "second param." part refered to PRINT_HELP_WITH_STRING, I mixed them up)
 
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) 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.
+
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]].

Latest revision as of 19:08, 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.