View Full Version: VCS Commonly Used Addresses

CheatSync.net Forums > Cheat Device Development > VCS Commonly Used Addresses



Title: VCS Commonly Used Addresses


Durka Durka Mahn - October 13, 2007 07:02 PM (GMT)
This is list on commonly used addresses! I hope it can help you in some way!

Name: Player/Player Car Location
Address:
pcar, pplayer, or pobj +0x30
Description:
This is the player coordinates. To set it, you need 3 values in the order x, y, z.
Example:
CODE
//Moves the player to coordinates 567.8, 904.6, 10.7
setfloat(pobj+0x30, 567.8, 904.6, 10.7);

*Already defined in the Cheat Device.

Name: Player Target (AKA pped)
Address:
0x08BA1D70
Description:
This is a pointer that shows what pedestrian you are aiming at.
Example:
CODE
//Define it
pped = getint(0x08BA1D70);
//Move the ped to the coordinates 0, 0, 0
setfloat(pped+0x30, 0, 0, 0);


Name: Fire Spawning Address
Address:
0x08be3a20
Description:
This is the starting address for fire spawning.
Example:
CODE
//Activates and moves two fires.
setchar(0x08be3a20,  1);
setfloat(0x08be3a30,  lockx + cos(0) * dist,   locky + sin(0) * dist,   lockz);
setchar(0x08be3a60,  1);
setfloat(0x08be3a70,  lockx + cos(36) * dist,   locky + sin(36) * dist,   lockz);

*Note- Add 0x40 between each spawn you make if you are spawning multiple fires.

Name: Player's Car ID
Address:
pcar+0x56 (short)
Description:
This address stores the ID of the car, which can be used to find out what kind of car the player is driving.
Example:
CODE
//Defines the variable carid and gives it the value of the car ID
carid = getshort(pcar+0x56);


Name: Object Player is standing on
Address:
pobj + 0xf0 (int)
Description:
This is a pointer to the address of what the player is standing on.
Example:
CODE
//Defines variable overobj that shows the address of what the player is standing/driving on.
overobj = getint(pobj + 0xf0);


Name: Player/Player Car speed
Address:
pcar/pobj/pplayer+0x140
Description:
A series float displaying the player's speed X/Y/Z.
Example:
CODE
//Variable that shows player's current speed
speed = sqrt(getfloat(pobj+0x140)^2 + getfloat(pobj+0x144)^2 + getfloat(pcar+0x148)^2);


Name: Object Player is touching
Address:
pobj/pcar/pplayer+0x150 (int)
Description:
Shows the address of whatever object the player is touching.
Example:
CODE
//Defines a variable named obj whose value is the address of whatever the player touches.
obj=getint(pobj+0x150);


Name: Car Health
Address:
pcar+0x27C (float)
Description:
An address whose value corresponds to your car's health. Edit it for more health!
Example:
CODE
//Define a variable that holds car health value
chealth = getfloat(pcar+0x27C);


Name: Player Health and Armor
Address:
pplayer + 0x4E4 (Health) pplayer + 0x4E8 (armor) (floats)
Description:
Addresses corresponding to your health and armor.
Example:
CODE
//Sets player health and armor to 150.
setfloat(pplayer + 0x4E4, 150, 150);


More coming soon!

Want to add one? Please post using this form:
Name: *Name here
Address:
*Address here
Description
*Description here
Example
*Example here

Thanks!




Hosted for free by InvisionFree