Armyw0w Posted March 21, 2014 Share Posted March 21, 2014 Hi i modify damage at weapons with: INT* WEAP_DMG3 = (INT*)13157546; *WEAP_DMG3 = 0; I can read the default value without ReadProcessMemory ? Link to comment Share on other sites More sharing options...
Link2012 Posted March 21, 2014 Share Posted March 21, 2014 IF you already modified it, no. But before modyfing you can just read the pointer, normally. int old = *WEAP_DMG3; Link to comment Share on other sites More sharing options...
Armyw0w Posted March 21, 2014 Author Share Posted March 21, 2014 old value is -858980312 Link to comment Share on other sites More sharing options...
Seemann Posted March 22, 2014 Share Posted March 22, 2014 I guess it's a floating-point value, not an integer. Sanny Builder 3 • SA Memory Handling • OpenIV • gtamodding.com CLEO.li - The CLEO Library - Official site Link to comment Share on other sites More sharing options...
Armyw0w Posted March 22, 2014 Author Share Posted March 22, 2014 output: -1.07479e+008 i think sa-mp rewrited damage system... Link to comment Share on other sites More sharing options...
TJGM Posted March 22, 2014 Share Posted March 22, 2014 So you want to modify weapon damage while you play SAMP? I hope you realise that's cheating, and nobody's going to help you now. Link to comment Share on other sites More sharing options...
DK22Pac Posted March 22, 2014 Share Posted March 22, 2014 And also read any basic C/C++ tutorial before you start programming your own plugins. Link to comment Share on other sites More sharing options...
Armyw0w Posted March 22, 2014 Author Share Posted March 22, 2014 closed... Link to comment Share on other sites More sharing options...
Recommended Posts