QuestionSource code Weapons :(

Posts 1–4 of 4 · Page 1 of 1
Source code Weapons :(
help?
Code:
||------- [15:08:21] --------||Weapons Logger...
 [0]: Š

 [1]: ²
Code:
void __cdecl Writelog(const char *text, ...)
{
	if (Logfile && Logfile.is_open())
	{
		if (!text) return;
		va_list va_alist;
		char logbuf[256] = { 0 };

		va_start(va_alist, text);
		_vsnprintf(logbuf + strlen(logbuf), sizeof(logbuf) -strlen(logbuf), text, va_alist);
		va_end(va_alist);

		Logfile << logbuf << endl;
	}
}

for(int i=0; i<780; i++)
{
const char *WeaponName = (char*)((*(DWORD*)((*(DWORD*)(CShell+WeaponPointer)) +(4*i))) + 9);
Writelog(" [%d]: %c\n", i, (LPCSTR)WeaponName);
}
Check your pointer
WeaponsPointer.
hey can u add me on skype and help me plz skype name: ron_yang2
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?