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 https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/ 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 https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065024426 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 https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065024586 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. Link to comment https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065030492 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 https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065031060 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 https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065031231 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 https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065031753 Share on other sites More sharing options...
Armyw0w Posted March 22, 2014 Author Share Posted March 22, 2014 closed... Link to comment https://gtaforums.com/topic/695149-get-value-with-readprocessmemory/#findComment-1065032035 Share on other sites More sharing options...
Recommended Posts