[Include] SA:MP Buster - Plug & Play Anti-Cheat
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
pawn Код:
#define IS_NOT_IN_GODMODE_IF_STATEMENT if(playerid == playerid)//Default: N/A
That can be written as:

pawn Код:
#define IS_NOT_IN_GODMODE_IF_STATEMENT
Which entirely removes the "if", but leaves the block statement after it - entirely valid code without the excess check.
Wow, i didn't think of trying that way, i was simply trying to get it to compile, updated, thanks again

It also opens up so many possibilities!

@DrSlett

Godmode is 9999, why not check anything above 100 to easily detect it? There shouldn't be a way to get your health to exceed 100%, otherwise your adding to there health somewhere and it is a bug.
Reply


Messages In This Thread
SA:MP Buster - Plug & Play Anti-Cheat - by Frant1kz - 27.11.2012, 04:44
Re: SA:MP Buster - Plug & Play Anti-Cheat - by DrSlett - 27.11.2012, 05:35
Re: SA:MP Buster - Plug & Play Anti-Cheat - by Frant1kz - 27.11.2012, 23:51
Re: SA:MP Buster - Plug & Play Anti-Cheat - by im - 29.11.2012, 00:06
Re: SA:MP Buster - Plug & Play Anti-Cheat - by DrSlett - 29.11.2012, 01:47
Re: SA:MP Buster - Plug & Play Anti-Cheat - by Plovix - 02.12.2012, 14:32
Re: SA:MP Buster - Plug & Play Anti-Cheat - by Frant1kz - 06.12.2012, 11:15
Re: SA:MP Buster - Plug & Play Anti-Cheat - by stefanel9944 - 13.12.2012, 18:17
Re: SA:MP Buster - Plug & Play Anti-Cheat - by [GF]Logic - 13.12.2012, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)