My CF Source Code.
[HTML]
#include <windows.h>
int Wep, Function1;
bool CF()
{
while(!GetModuleHandleA("CShell.dll"))Sleep(100));
while(1);
{
DWORD CSHELL = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pBase = *(DWORD*)(CSHELL + 0xWeaponMGR);
for(int i = 0; i<560; i++)
if(Wep){
DWORD Wep = *(DWORD*)(pBase + (4*i));
if(pBase){
if(Function1){
*(float*)((*(DWORD*)(Wep)) 0x000) = 20000.0f;
}
Sleep(100);
}
}
}
bool Pronto()
{
if(GetModuleHandleA("CShell.dll) !=0 && GetModuleHandleA("crossfire.exe") !=0)
return true;
return false;
}
DWORD WINAPI Esperar(LPVOID)
{
while(!Pronto()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)CF, NULL, NULL, NULL);
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Esperar,0 ,0,0);
}
return 1;
}
[/HTML]
YARROL = 65536
PITCH = 65536
All YARROL & PITCH its Same Number
Credits
@
Swiftdude