13.06.2009, 22:03
Hey! I want to make a money anti hack. I used shearch but I didn't finded the thing I want:
I want to make a timer checking the money of the player, after check his money again and see if his money increased of a notable cantity. Is it possible ?
Like
Anything like this
I want to make a timer checking the money of the player, after check his money again and see if his money increased of a notable cantity. Is it possible ?
Код:
public AntiMoneyCheat()
{
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
LastMoney[i] = GetPlayerMoney(i);
...
{
Код:
NewMoney[i] = GetPlayerMoney(i);
if(LastMoney[i] < 200 = NewMoney[i])
{
Ban(i);
}

