ammo = 999999 *(int*)ADR_Unliammo;
DWORD ammo = *(int*)ADR_Unliammo;
Not workin Error??49 21 C:\Documents and Settings\Lil Pain\My Documents\dllmain.c each undeclared identifier is reported only once for each function it appears in 57 23 C:\Documents and Settings\Lil Pain\My Documents\dllmain.c [Error] 'ammo' undeclared (first use in this function) 147 1 C:\Documents and Settings\Lil Pain\My Documents\dllmain.c [Error] expected declaration or statement at end of input 2 of this
DWORD ammo; // we need this of crouse
void UnliAmmo() // void your unliammo
{//open 1
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer; // prevent from bugs or anythin
if(dwPlayerPtr != 0) // if player = 1
{ // open 2
if (GetAsyncKeyState(VK_F8)) //key for record ammo
{
ammo = *(int*)ADR_Unliammo; // record ammo
}
if(GetAsyncKeyState(VK_F5) &1) // key for on
{
*(int*)ADR_Unliammo = 0; // on
}
if(GetAsyncKeyState(VK_F6) &1) // key for off
{
*(int*)ADR_Unliammo = ammo ; // off
}
}//close 1
}//close 2