Skip to content

GTA Control Block Addresses

Mukhtar Kiboigo edited this page Feb 16, 2019 · 1 revision

CONTROL BLOCK ADDRESSES


global ADDR_CPED_PTR := 0xB6F5F0

0xB6F5F0 is the pointer byte value for the CPed (Character Ped) derived values. This is used to point to a variety of variables and values that are all placed under the Character. An example of this is the Health Float, which is CPed + 0x540. One of the most important GTA:SA pointer values in my opinion and it's used very often. Use ADDR_CPED_PTR anywhere where you'd normally use 0xB6F5F0.

global ADDR_VEHICLE_PTR := 0xBA18FC
global ADDR_CVEH_PTR := 0xB6F980
global ADDR_CVEH_PTR2 := 0xB6F3B8

The three above are all different vehicle value umbrellas. 0xBA18FC controls all of the offsets with the mid value of _VEHICLE_ and is the pointer designated for those. 0xB6F980 and 0xB6F3B8 are two new vehicle controller points and require more testing before anything can be said about their use. Their designated offsets have a mid value of _CVEH_.

global ADDR_CVEH_CONTROL := 0xB73458

0xB73458 is another vehicle controller but this one does something different. This one is designated to be the controller pointer for the cars. It's designated offsets also have the _CVEH_ mid value. It's assigned to two offsets.

global ADDR_MENU_PTR := 0xBA6748

0xBA6748 is the controller for all of the _MENU_ midvalues.

Clone this wiki locally