0844

From GTAMods Wiki
(Redirected from 0845)
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