[Tutorial] Make an Anti Fly Hack (Of the new cheat)
#10

I'm not sure if this line here is doing as you intended

pawn Code:
if(Pos_x <= -0.800000  || Pos_y <= -0.800000 || Pos_z <= -0.800000 && anim == 1008)
I think it should read

pawn Code:
if((Pos_x <= -0.800000  || Pos_y <= -0.800000 || Pos_z <= -0.800000) && anim == 1008)
Try running the following code on this website.

http://slice-vps.nl:7070/

pawn Code:
#include <a_samp>

main() {

    new a = 1, b = 2, c = 3;
   
    if(a == 1 || b < 3 && c == 4) print("Check 1");
    if((a == 1 || b < 3) && c == 4) print("Check 2!");

    return 1;
}
Output: Check 1

So basically what I'm saying is if one of these checks were true
pawn Code:
Pos_x <= -0.800000  || Pos_y <= -0.800000
The animation check doesn't mean anything.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)