06.06.2010, 19:03
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]);