00C3

From GTAMods Wiki
Revision as of 22:50, 26 June 2015 by Seemann (talk | contribs) (Created page with "{{Research}} thumb|A debug cube draw example {{Icon|3}} '''DEBUG_ON''' <hr /> '''Description''' : Enables the debug mode '''Syntax''' : 00C3: ente...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
A debug cube draw example

GTA III DEBUG_ON


Description

Enables the debug mode

Syntax

00C3: enter_debugmode

Parameter

[none]

This opcode enables the debug mode flag. The game constantly resets this flag to zero, so to make of use of it, the opcode 00C3 must be placed in a loop for a continuous effect. To turn off the debug mode instantly, use the opcode 00C4. The debug mode was presumably used to highlight the boundaries of the 2d and 3d areas the player must visit in missions. The picture shows a debug cube drawn at the coordinates where the game is expecting the player to be (opcode 00F5 with the sphere flag on).