Isse Kun
Emektar Üye
Kod:
[php]No category yet
0xA49D54 - [dword] Timer for driving/flying missions (in ms)
0xA51974 - [dword] Timer for boat/bike missions (in ms)
0xA51A3C - Timer for Bloodring race
0xB7CE50 - [dword] Money
0xBAA420 - Wanted Level
0x8CDEE4 - [dword] Max wanted level
0xB79038 - [dword] How many days have passed in game
0xB70153 - [byte] Current Hour
0xB70152 - [byte] Current Minute
0x8D5104 - [byte] Current blur level
0xB7014E - [byte] Current Weekday (1 through 7)
0x8CB7A5 - [byte] Current Radiostation-ID
0xB700F0 - [dword] Current Car ID (from vehicles.ide) - not for bikes
0xB7CB49 - [byte] Game freezes like when in menu:
0 = normal
1 = everything stops
0xB7CB49 - [byte] Menu show:
0 = leave
1 = show
0x863984 - [float] Gravity (default value: 1.0f/125.0f = 0.008f)
0xB610E0 - [dword] A global timer in ms (read only)
0xB7CB84 - [dword] A global timer in ms (while not in menu, read/write)
0xA5153C - [dword] Mission timer from a number to 0 (4 bytes)
0xB7CB64 - [float] Game speed in percent
0xB70158 - [dword] Timer related to weather and time in ms
0xB7015C - [dword] Defines how many ms (1 second... default 1000, set to 1 for a headache, number of ms per sec)
0xB7CEE4 - [byte/boolean] Is infinite run
0xB7CEE6 - [byte/boolean] Is player fireproof
0x96C009 - [byte/boolean] Is paynspray free
0xA444A4 - [byte/boolean] Is radar greyed out
0x8D2530 - [float] Pedestrian density multiplier
0x8A5B20 - [float] Vehicle density multiplier
0xB6F065 - [byte/boolean] Widescreen (the view that is displayed during cutscenes, not the display option)
0xA4A948 - Lowrider Challenge score
0xA4EC20 - Dancing minigame score
0xB790B8 - [byte] Photographs taken number (4 bytes)
0xA9AD74 - [byte] Tags number (4 bytes)
0xB791E4 - [byte] Horseshoes number (4 bytes)
0xB791EC - [byte] Oysters number (4 bytes)
Note: For those number above if you change it to maximum amount they appear to pop a message and gives a bonus like weapons in cj savehouses.
0x716642 - [float] Change solid clouds
0x716655 - [float] Disable solid clouds
Note: Both values default to 200. If you change one of them to 100,000 you get very few clouds, a much nicer effect. If you change both of them to 100,000 you never get the clouds.
0xB79078 - [byte] People dropped off in taxi (number used for the stats, 4 bytes)
0xA49C30 - [byte] People dropped off in taxi (number used for giving your reward, 4 bytes)
0xB79040 - [byte] Safehouse visits number (4 bytes)
0xA49EFC - [dword] Denise Progress
0xA49F00 - [dword] Michelle Progress
0xA49F04 - [dword] Helena Progress
0xA49F08 - [dword] Barbara Progress
0xA49F0C - [dword] Katie Progress
0xA49F10 - [dword] Millie Progress
Note: These above six addresses are within the scm block, and valid only for original scm. setting a value to 100 (ie. 100 pct) gives you all gifts of that GF (ie. car keys, wardrobe etc.).
0xB79108 - Number of girls dated
0xB79100 - Current number of girlfriends
0xB79104 - Number of disastrous dates
0xB79110 - Number of successful dates
0xB79060 - Unique jumps found number
0xB79064 - Unique jumps done number
0xBA6774 - Map target:
0 = disabled
1 = enabled
0x86329C - List of valid command names
0xC17054 - A pointer to the main game window handle (typically 0xC8CF88 since the pointer is static).
0xBA3798 - Beginning of ZoneInfo structure
0xBA1DF0 - Beginning of ZonePop structure
0xA94B68 - array of pointers to RwTexture, corresponding to opcode 038F
0xA444A0 - Is HUD enabled by an opcode 0826:
0 = disabled
1 = enabled
0x969110 - [char(30)] Buffer of 30 last typed chars, earlier typed chars are on next bytes.
DirectX / Rendering
0xC97C1C - A copy of the window handle that is used to initialize the DirectX device.
0xC97C20 - Pointer to IDirect3D9 interface.
0xC97C28 - Pointer to IDirect3DDevice9 interface.
0xC9C040 - Global instance of D3DPRESENT_PARAMETERS structure.
Stats
0xB793D4 - [float] Fat stat
0xB793D8 - [float] Stamina stat
0xB793DC - [float] Muscle stat
0xB793E0 - [float] Health stat
0xB793E4 - [float] Sex Appeal stat
0xB79496 - [float] Pistol stat
0xB79498 - [float] Silenced pistol stat
0xB7949C - [float] Desert eagle stat
0xB794A0 - [float] Shotgun stat
0xB794A4 - [float] Sawn-off shotgun stat
0xB794A8 - [float] Combat shotgun stat
0xB794AC - [float] Machine pistol stat
0xB794B0 - [float] SMG stat
0xB794B4 - [float] AK47 stat
0xB794B8 - [float] M4 stat
HTML Stats File
0x8663A0 - File Name ( Default : 'stats.html' )
0x86636C - File Title ( Default : İ<title>Grand Theft Auto San Andreas Stats</title>İ )
Cheats
[byte] Can be either on (1) or off (0).
0x969130 - Weapon Set 1
0x969131 - Weapon Set 2
0x969132 - Weapon Set 3
0x969133 - Health+Armor+250K
0x969134 - Increase Wanted Level 2 Stars
0x969135 - Clear Wanted Level
0x969136 - Sunny Weather
0x969137 - Very Sunny Weather
0x969138 - Overcast Weather
0x969139 - Rainy Weather
0x96913A - Foggy Weather
0x96913B - Faster Clock
0x96913C - Faster Gameplay
0x96913D - Slower Gameplay
0x96913E - Peds Attack Each other with Golfclub
0x96913F - Have Bounty on Head
0x969140 - Everyone is Armed
0x969141 - Spawn Rhino (Not Tested!)
0x969142 - Spawn Bloodring Banger (Not Tested!)
0x969143 - Spawn Rancher (Not Tested!)
0x969144 - Spawn Racecar A (Not Tested!)
0x969145 - Spawn Racecar B (Not Tested!)
0x969146 - Spawn Romero (Not Tested!)
0x969147 - Spawn Stretch (Not Tested!)
0x96914A - Blow up All Cars
0x96914B - Wheels Only (Invisible Cars)
0x96914C - Perfect Handling
0x96914D - Suicide
0x96914E - All Green Lights
0x96914F - Aggressive Drivers
0x969150 - Pink Traffic
0x969151 - Black Traffic
0x969152 - Cars can drive on water
0x969153 - Boats Can Fly
0x969154 - CJ is Fat
0x969155 - Max Muscle
0x969156 - CJ is Skinny
0x969157 - Elvis Everywhere
0x969158 - Peds attack with rockets
0x969159 - Beach Theme
0x96915A - Gang Members everywhere
0x96915B - Gangs control the streets
0x96915C - Ninja Theme
0x96915D - Slut Magnet
0x96915E - Traffic is Cheap Cars
0x96915F - Traffic is Fast Cars
0x969160 - Cars can Fly
0x969161 - Huge Bunny Hop
0x969162 - Spawn Hydra (Not Tested!)
0x969163 - Spawn Vortex Hovercraft (Not Tested!)
0x969164 - Tank Mode/Smash'n Boom
0x969165 - All cars have nitro
0x969166 - Cars Float Away when hit
0x969167 - Always Midnight
0x969168 - Stop Game Clock - Orange Sky
0x969169 - Thunderstorm
0x96916A - Sandstorm
0x96916C - Mega Jump
0x96916D - Infinite Health
0x96916E - Infinite Oxygen
0x96916F - Get Parachute
0x969170 - Get Jetpack
0x969171 - Never Wanted
0x969172 - Six Star Wanted Level
0x969173 - Mega Punch
0x969174 - Never get Hungry
0x969175 - Peds Riot (Chaos Mode)
0x969176 - Funhouse Theme
0x969177 - Slower Gameplay
0x969178 - Infinite Ammo, No Reload
0x969179 - Full Weapon Aiming while driving
0x96917A - Decreased Traffic
0x96917B - Traffic is Country vehicles
0x96917C - Recruit Anyone (9mm)
0x96917D - Country Theme
0x96917E - Recruit Anyone (Rockets)
0x96917F - Max Respect
0x969180 - Max Sex Appeal
0x969181 - Max Stamina
0x969183 - Hitman in All Weapons
0x969184 - Spawn Hunter (Not Tested!)
0x969185 - Spawn Quad (Not Tested!)
0x969186 - Spawn Tanker Truck (Not Tested!)
0x969187 - Spawn Dozer (Not Tested!)
0x969188 - Spawn Stunt Plane (Not Tested!)
0x969189 - Spawn Monster (Not Tested!)
[dword]
0x96918C - Has ever Cheated or not
0xBAA472 - Has now Cheated or not
0xB79044 - Cheated Count
[byte]
0x96918C - 'Cheated' state:
0 = disabled
1 = enabled
Note: If it's set to 1 you'll get a warning message when saving a game. But this byte doesn't get set if you use a cheat enabler.
Display Settings
0xBA6784 - [dword] Brightness
0xBA6792 - [byte] Legend
0xBA676C - [byte] Radar Mode
0 = maps & blips
1 = blips
2 = off
0xBA6769 - [byte] Hud Mode
0 = off
1 = on
0xBA678C - [byte] Subtitles
0xBA6830 - [byte] Store gallery photos
0xBA6788 - [float] Draw Distance
0xBA6794 - [byte] Frame limiter
0xBA6793 - [byte] Widescreen
0xA9AE54 - [byte] Visual FX Quality
0xBA680C - [byte] Mip Mapping
0xBA6814 - [byte] Antialiasing values:
1 = 0x (off)
2 = 1x
3 = 2x
4 = 3x
0xBA6820 - [byte] Resolution values:
11 = 640x480
12 = 800x400
13 = 800x600
15 = 1024x768
(Depends on the graphic driver/hardware.)
Sound Configuration
0xBA6798 - [byte] Radio Volume [0 through 64]
0xBA6797 - [byte] SFX Volume [0 through 64]
0xBA6799 - [byte] Radio Equalizer
0xBA6795 - [byte] Radio Auto-tune
0xBA67F8 - [byte] Usertrack/Play mode values:
0 = radio
1 = random
0xBA680D - [byte] Usertrack/Automatic Media Scan
0xBA679A - [byte] Radio Station ID values:
1 to 12 (see below for station names according to ID)
1 = "Playback FM"
2 = "K Rose"
3 = "K-DST"
4 = "Bounce FM"
5 = "SF-UR"
6 = "Radio Los Santos"
7 = "Radio X"
8 = "CSR 103.9"
9 = "K-JAH West"
10 = "Master Sounds 98.3"
11 = "WCTR Talk Radio"
12 = "User Track Player"
13 = "Radio Off"
AlienX: Seems that the Radio Station ID is just a menu identifier, this does not actually change the radio station while in-game!
Another note... The opcode for switching players radio stations does not work in line with the station ID's, i have yet to figure out what station ID's are for the SCM code - Dont try to use the above ID's for the SCM Operation Code, it just wont work
Thanks to AlienX For the station names and ID's
Controller Configuration
0xBA6818 - [byte] Controller Configuration values:
0 = mouse + keys
1 = joypad
0xB6EC1C - [float] Mouse sensitivity
0xC1CC02 - [byte] Steer with mouse
0xC1CC03 - [byte] Fly with mouse
0xB6EC2E - REAL aiming mode offset, not menu:
0 = joypad
1 = mouse + keys
Other Dynamic Memory Addresses (non-static)
Pedestrians
General
0xB6F5F0 - Player pointer (CPed)
0xB7CD98 - Player pointer, direct offset to the ped pool start (CPed)
0xB74498 - CPeds maximum number (normally 140)
0xB74490 - Contains a pointer to a main struct below
This struct:
+0 = Contains a pointer to the first element in the pool
+4 = Contains a pointer to a byte map indicating which elements are in use
+8 = [dword] Is the maximum number of elements in the pool
+12 = [dword] Is the current number of elements in the pool
Each ped object is 1988 (0x7C4) bytes.
For each ped in the pool:
In most cases, you can use even the dword of playeraddress as CPed value
CPed +0x14 = Pointer to XYZ position structure (and rotation)
(CPed+0x14) +0x0 to +0x2C = [dword] Is the rotation matrix
(CPed+0x14) +0x30 = [dword] XPos
(CPed+0x14) +0x34 = [dword] YPos
(CPed+0x14) +0x38 = [dword] ZPos
CPed +0x2F = [byte] ******** status:
0 = outside
3 = inside a building
CPed +0x42 = [byte] Is the BP/EP/FP/DP (special flags) status of the player as follows:
Bit 1 = makes ped soft (ie. can move through