[Help] Money Anti Cheat
#1

who can give me good money anti cheat ?
Reply
#2

In order to a make anti-money hack system you need to use server-side money.

This means that you create a varialbe such as this at the top of your script:

pawn Код:
new PlayerMoney[MAX_PLAYERS];
Now you basicly store the ammount of money that everyone has in this variable..... The way to do this is by first of all setting the money to the correct ammount when they log in... Then create a Timer on your script of 1 second or something that does this

pawn Код:
for(new i=0; i<MAX_PLAYERS; i++){

ResetPlayerMoney(i);
SetPlayerMoney(i) = PlayerMoney(i);

}
That might not work exactly, but thats the basic idea.
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)