0844

From GTAMods Wiki
Revision as of 05:17, 22 December 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

San Andreas IS_VAR_TEXT_LABEL_EMPTY


Description
Checks if the string is empty
Syntax
0844:   string [global short string var] empty
Parameter
[global short string var]
Global variable containing a string of up to 7 characters

This conditional opcode returns true if the string represented by the global variable is empty, i.e. contains no characters, only zero bytes. Opcodes 0845, 0846, and 0847 behaves similarly to this.

Keywords

string, empty, check, var, text, label