Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //by mizdx
- int GET_VEHICLE_HANDLING(int index)
- {
- int meta = *(int*)(0x39054D8);
- return *(int*)(meta + (index * 0x04)) + 0x4;
- }
- void SET_HANDLING_MOD(int index, int mod, float value)
- {
- int i = GET_VEHICLE_HANDLING(index) + mod;
- *(float*)(i) = value;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement