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
#2

An explosion in a car sets your health to 0, which kills you instantly.
Reply
#3

??
What does that have to do with my question ??
??
Reply
#4

because you're not waiting for anything to update for the client you're just creating an explosion and then checking if their health has changed like <1ms later.
I recommend you check out the link about anti-cheat tips in my signature
Reply
#5

i already did cess, cause of ur tut i came up with the idea to improve my anti cheat

Could u show me an example (short, only to get my head working ) how to start with an effective anti godmode?
Please

Thx to ur tut i already have a great anti wep hack buti dontknow how to do anti god mode

Please help me
Reply
#6

well how about something like... checking if a players ping is lowish and they get hit by ~4 different players who also have lowish pings then alert the admins about potential health cheats
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)