06.06.2010, 17:54
Hey I got this in a timer:
Why the fuck I get 99.000000,99.000000 in my server console?
Код:
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("%f,%f",pHealth[i],aHealth[i]); } SetPlayerHealth(i,pHealth[i]);