Difference between revisions of "SetHelpText"
From King Arthur's Gold Wiki
Shadlington (Talk | contribs) (Created page with "<onlyinclude> Sets the help text to the given string (I think its the text that shows above your head - like 'press E to buy bomb' or whatever) </onlyinclude> This is client onl...") |
Shadlington (Talk | contribs) |
||
Line 6: | Line 6: | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
− | void setHelpText(string text) | + | void setHelpText( string text ) |
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Scripting]] | [[Category:Scripting]] | ||
[[Category:Global Functions]] | [[Category:Global Functions]] |
Latest revision as of 14:16, 28 August 2012
Sets the help text to the given string (I think its the text that shows above your head - like 'press E to buy bomb' or whatever)
This is client only - it should be wrapped in "if ( getNet().isClient() )" or be in a client-only script.
void setHelpText( string text )