KeyStateChange - Anti weapon hack help
#3

Why don't you stick simpler operators? That last part will always return true, regardless of what level the player actually is.

Let's say the admin level is 0: 0 inverted becomes 1, 1 is greater than or equal to 0, statement is true. However, let's now assume that the admin level is 5: 5 inverted becomes 0, 0 is greater than or equal to 0, statement is true.

Much simpler to just do:
pawn Код:
pInfo[playerid][pLevel] < 1
Reply


Messages In This Thread
KeyStateChange - Anti weapon hack help - by [Cali]ChrOnic_T - 24.06.2014, 22:19
Re: KeyStateChange - Anti weapon hack help - by Jacksta21 - 24.06.2014, 22:32
Re: KeyStateChange - Anti weapon hack help - by Vince - 24.06.2014, 22:36
Re: KeyStateChange - Anti weapon hack help - by Juvanii - 24.06.2014, 23:07
Re: KeyStateChange - Anti weapon hack help - by Koala818 - 24.06.2014, 23:49
Re: KeyStateChange - Anti weapon hack help - by Juvanii - 25.06.2014, 12:16

Forum Jump:


Users browsing this thread: 2 Guest(s)