From GTAMods Wiki
Revision as of 15:34, 14 September 2017 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas LOAD_SPRITE

Loads the sprite
GTA III Vice City 038F: load_texture '[string]' as [int]
San Andreas 038F: load_texture "[string]" as [int]
Memory slot
The name of the sprite

This opcode loads the sprite from the texture dictionary loaded through opcode 0390 into the memory slot. Any upper case letters (A-Z) are converted to lower case by the game internally. Opcode 038D is used to draw the sprite onto the screen. This opcode was never called in the original script of GTA III and Vice City.


See 038D#Example


load, texture, txd, sprite