Difference between revisions of "ADD STRING TO NEWS SCROLLBAR"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
[[File:AddStringToNewsScrollbar.jpg|right|thumb|250px|The news scrollbar using the text "ADD_STRING_TO_NEWS_SCROLLBAR"]]
 
{{Native
 
{{Native
 
|np=1
 
|np=1
Line 5: Line 6:
 
|r=0
 
|r=0
 
}}
 
}}
Adds a string to the news scrollbar as seen in Star Junction. It can be cleared using [[CLEAR_NEWS_SCROLLBAR]]. If you use this function again without clearing it, the string will be added next to the previous one that was created. The scrollbar uses font 1 in the Video Editor, which is from the <code>font3</code> texture in the <code>fonts.wtd</code> file.
+
This function adds a string to the news scrollbar as seen in The Triangle, south of Star Junction. It can be completely cleared by calling the function [[CLEAR_NEWS_SCROLLBAR]]. The news scrollbar in northern Star Junction is controlled by <code>scrollbars.dat</code>. If you use this function again without clearing it, the string will be added next to the previous one that was created. The scrollbar uses font 1 in the Video Editor, which is from the <code>font3</code> texture in the <code>fonts.wtd</code> file.
*[http://img.photobucket.com/albums/v41/spaceeinstein/AddStringToNewsScrollbar.jpg Custom string]
 

Latest revision as of 23:37, 20 February 2012

The news scrollbar using the text "ADD_STRING_TO_NEWS_SCROLLBAR"
ADD_STRING_TO_NEWS_SCROLLBAR
Number of parameters: 1
Parameter #TypeDescription
1.stringstring to add to the news scrollbar
Return value:
TypeDescription
None

This function adds a string to the news scrollbar as seen in The Triangle, south of Star Junction. It can be completely cleared by calling the function CLEAR_NEWS_SCROLLBAR. The news scrollbar in northern Star Junction is controlled by scrollbars.dat. If you use this function again without clearing it, the string will be added next to the previous one that was created. The scrollbar uses font 1 in the Video Editor, which is from the font3 texture in the fonts.wtd file.