0051

From GTAModding
Jump to: navigation, search

GTA III Vice City San Andreas RETURN


Description
Return from the current subroutine.
Syntax
0051: return
Parameter
none

This opcode returns from the current subroutine. When the thread encounters a 0051, it will return from where the last 0050 was called.

The game will crash if:

  • 0051 was read before any 0050 was called.

Keywords

subroutine, gosub, go sub