godmode detect does not work, why?
#1

hi,

as the title says, it always shows me Godmode message also if im not on infinite health and my health goes down after expllosion. Why?

pawn Код:
new Float:pHealthtmp[MAX_PLAYERS];
            GetPlayerHealth(i,pHealthtmp[i]);
            new Float:x, Float:y, Float:z;
            GetPlayerPos(i, x, y, z);
            CreateExplosion(x, y, z, 12, 5.0);
            new Float:hhh[MAX_PLAYERS];
            GetPlayerHealth(i,hhh[i]);
            if(pHealthtmp[i]>=hhh[i])SendClientMessageToAll(0xFF0000FF,"GodMode!!!");
            else SetPlayerHealth(i,pHealthtmp[i]);
runing this in a timer 1 second true and in a loop (foreach)
Reply


Messages In This Thread
godmode detect does not work, why? - by PawnoQ - 03.01.2012, 01:45
Re: godmode detect does not work, why? - by coole210 - 03.01.2012, 02:06
Re: godmode detect does not work, why? - by PawnoQ - 03.01.2012, 02:11
Re: godmode detect does not work, why? - by cessil - 03.01.2012, 03:09
Re: godmode detect does not work, why? - by PawnoQ - 03.01.2012, 03:17
Re: godmode detect does not work, why? - by cessil - 03.01.2012, 07:37

Forum Jump:


Users browsing this thread: 1 Guest(s)