Grand Theft Auto Vice City Scripts

January 27, 2023 ยท View on GitHub

Some code snippets and documentation resources for Grand Theft Auto games.

Sources

Some Useful Opcode Descriptions

0ADC: Check if the player has typed a specified text.
03E5: Print help message on the left corner of the screen.
0222: Set player health to some value.
035E: Add armour to player.
0000: 0000 is often put at the beginning of CLEO scripts to avoid jump-at-zero-offset bug.
0ACA: This CLEO opcode prints a custom help message.
0109: This opcode adds the integer value to the player's current amount of money. A negative value subtracts the player's money.
010D: This sets the player's current wanted level from 0 to 6. It will not exceed the maximum wanted level set by opcode 01F0. Negative values have no effect while values higher than six will not exceed six.
01B2: Gives the weapon to the CHARACTER.
01B1: Gives the weapon to the PLAYER.
0247: Request a model.
0248: Check if the requested model is loaded.
04C4: This opcode stores a point offset from the character's position. The coordinates it stores are dependent on the direction the character is facing.
0ADD: Spawns a vehicle of the specified model like a cheat.
02AC: Sets the proofs of the vehicle.
053F: Sets tires vulnerability (0 = off).
055E: Sets player's max health.

Script Descriptions

HESOYAM Script -> Player can get $250.000, full health and armour, by typing "HESOYAM" just like in GTA San Andreas.
Save Game Script -> Player can save the game any time and anywhere in Vice City when a mission is not active.
Weapon Script -> Player can get a set of weapons by typing "GUNSGUNSGUNS".
Vehicle Spawner -> Type the name of the vehicle and it will spawn in front of you! (This Script doesn't include all of the vehicles in the vehicle list so you if you want to spawn a vehicle that didn't include in the script, you have to modify the script and compile it with Sanny Builder.)
AEZAKMI Script -> This script behaves just like the AEZAKMI cheat in GTA San Andreas. When AEZAKMI is typed, the cops no longer chase the player and respond to all criminal activity. If the player types the cheat again then the cops behaviour will be restored and they response all the crime activity.
Taxi Mod -> Taxi mod for GTA Vice City (Classic).
Weapon Store Mod -> Weapon Store mod for GTA Vice City (Definitive Edition)

How to get the vehicle that the player is using?
How to repair vehicle?
RE:LCS Build