UnliAmmo Source

Posts 1–10 of 10 · Page 1 of 1
UnliAmmo Source
Please can someone tell me the source of UnliAmmo Mine is wrong


void UnliAmmo()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0){
{
if (GetAsyncKeyState(VK_F8)) //record ammo
{
ammo = 999999 *(int*)ADR_Unliammo;
}
if(GetAsyncKeyState(VK_F5) &1) //on
{
*(int*)ADR_Unliammo = 0;
}
if(GetAsyncKeyState(VK_F6) &1) //off
{
*(int*)ADR_Unliammo = ammo ;
}
}


And for HideIGN source please!
Quote Originally Posted by Jhem View Post
this part:
Code:
ammo = 999999 *(int*)ADR_Unliammo;
to
Code:
DWORD ammo = *(int*)ADR_Unliammo;
and here.
http://www.mpgh.net/forum/262-warroc...-ign-name.html

Problem solved.
Not workin Error??

Code:
 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
Quote Originally Posted by killallbosz View Post
Not workin Error??

Code:
 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
Please stop posting basics error.

Code:
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
I think you can stop spoon-feeding them @Jhem lol
Quote Originally Posted by TheG36 View Post
I think you can stop spoon-feeding them @Jhem lol
I want to stop helping them but, looks like I can't leave them alone.
Posts 1–10 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us