So i have tried to make M16 to a Shotty and it didnt work so i will like to get some helps with this this is the code i used.


// troll pz.cpp : Defines the exported functions for the DLL application.
//

#include "stdafx.h"


#include <windows.h>
#include <fstream>
#include <stdio.h>
#include <iostream>

using namespace std;


DWORD WINAPI H4X(LPVOID)
{
DWORD cshell = (DWORD)GetModuleHandleA( "CShell.dll" );
DWORD weapon = *(DWORD*)( cshell + 0xA68F90);
std:fstream file;
file.open("Logger.txt");
for(int i =25; i < 600; i++) {
DWORD weapons = *(DWORD*)(weapon +(4*i));
char * weaponname = (char*)(weapons+ 0x0008);
file <<"68: " << i << "9B0D176: " << hex << i << " shotty: " << (LPCTSTR)weaponname << ".\n";
}
file.close();
return 0;
}

OFC CREDITS TO BRIMIR for being the best coders / helper! and make that code ^

and please dont fight in this thread lets have some peace