0844

From GTAMods Wiki
Revision as of 10:07, 13 May 2007 by Seemann (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

0844=1, %1d%
Description: Checks if a string is empty
Parameter 1: A string variable
Supports: San Andreas

This opcode checks if the string variable passed as the parameter is empty, i.e. contains no characters. If the variable contains only zero bytes the opcode returns true, otherwise it is false.
There are the opcodes doing absolutely the same that this opcode does. They are: 0845, 0846, 0847.