I need help with this code i made..

Posts 1–4 of 4 · Page 1 of 1
I need help with this code i made..
PAbalik2x lang po and reload 1 to 3 % poh ano po mali ko dito sa numbering ng fast ammo at health? tinry ko sa AI mabilis siya pero 1 to 3 % lang di maka fast ammo at health....please need some advice..im a newbie coder..

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

#define ADR_PlayerPointer 0x00A90408
#define ADR_ServerPointer 0x00A8F3B0
#define ADR_FastAmmo 0x00A94A3C
#define ADR_FastHealth 0x00A94A44

DWORD *ingame = (DWORD*)ADR_PlayerPointer;
DWORD *outgame = (DWORD*)ADR_ServerPointer;


void FastAmmo()
{
*(int*)(ADR_FastAmmo)= 9999999;
*(int*)(ADR_FastHealth) = 999999;
}
Quote Originally Posted by delarmente View Post
PAbalik2x lang po and reload 1 to 3 % poh ano po mali ko dito sa numbering ng fast ammo at health? tinry ko sa AI mabilis siya pero 1 to 3 % lang di maka fast ammo at health....please need some advice..im a newbie coder..

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

#define ADR_PlayerPointer 0x00A90408
#define ADR_ServerPointer 0x00A8F3B0
#define ADR_FastAmmo 0x00A94A3C
#define ADR_FastHealth 0x00A94A44

DWORD *ingame = (DWORD*)ADR_PlayerPointer;
DWORD *outgame = (DWORD*)ADR_ServerPointer;


void FastAmmo()
{
*(int*)(ADR_FastAmmo)= 9999999;
*(int*)(ADR_FastHealth) = 999999;
}
try this:

Code:
void FastAmmo ()
{
DWORD DWPlayerPointer = *(DWORD*)ADR_PlayerPointer;
if(DWPlayerPointer != 0)
{
*(float*)ADR_FastAmmo = 5;
*(float*)ADR_FastHealth = 5;
}
}
Next time use code tag
And solved @Mayion
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us