This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h" | |
| #include <cstdio> | |
| #include <cstdint> | |
| int main() | |
| { | |
| int amount = 9000; | |
| std::printf("Address of amount: %p\nValue of amount in decimal: %d\nValue of amount in hexadecimal: %#.8x\n", &amount, amount, amount); | |
| std::uint8_t* amountAddress = reinterpret_cast<std::uint8_t*> (&amount); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "plugin.h" | |
| #include "common.h" | |
| #include "CHud.h" | |
| #include "CTimer.h" | |
| using namespace plugin; | |
| class RestoreHealthGTASA { | |
| public: | |
| RestoreHealthGTASA() { |
NewerOlder