HelpWeapon Logger

Posts 1–3 of 3 · Page 1 of 1
Weapon Logger
I'm trying to do a logger, and here is the code I'm using to log values:
Code:
char* WepName = (char*)(Weapon + 0x000008);
			ofile << "JamesRo:  ID = " << i << ", Nome = " << WepName << ", Dano = " << *(float*)(Weapon + 0x81C) << ", Alcance = " << *(float*)(Weapon + 0x80C) << "\n";
All values except for the weapon name(which is always empty) are correct. What am I doing wrong?
Code:
char* WepName = (char*)(Weapon + 0x000008);
change it to 0x9 :P
It works now (but I feel really dumb)
Thanks @-[I]fLuX and @DOOP for helping me!
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us