GetPlayerHealth Bug???
#2

Basicly, you did it right, but here.


Код:
   				GetPlayerHealth(i,pHealth[i]); //Example 100
   				       new Float:plushealth = pHealth[i]; // << 100 health
					SetPlayerHealth(i,plushealth-1); // the player health get 99
					GetPlayerHealth(i,aHealth[i]); // this get 99
					if(aHealth[i] == pHealth[i]) // HOW THE FUCK can pHealth be 99
					{
						SendClientMessage(i, Green, "Hacking health!");
						printf("%0.f,%0.f",pHealth[i],aHealth[i]);
					}
					SetPlayerHealth(i,pHealth[i]);
Reply


Messages In This Thread
GetPlayerHealth Bug??? - by RSC_Quicker - 06.06.2010, 17:54
Re: GetPlayerHealth Bug??? - by -Rebel Son- - 06.06.2010, 19:03
Re: GetPlayerHealth Bug??? - by RSC_Quicker - 06.06.2010, 19:23
Re: GetPlayerHealth Bug??? - by whitedragon - 06.06.2010, 19:33
Re: GetPlayerHealth Bug??? - by ReVo_ - 06.06.2010, 19:50
Re: GetPlayerHealth Bug??? - by RSC_Quicker - 06.06.2010, 20:54
Re: GetPlayerHealth Bug??? - by whitedragon - 23.06.2010, 20:23
Re: GetPlayerHealth Bug??? - by Sergei - 23.06.2010, 20:26

Forum Jump:


Users browsing this thread: 1 Guest(s)