ANTI CHEAT
#1

Hello,

Currently I train to create a server and I would like to put an anti cheat but the problem such as the server gives money to the player but his banished the players
Reply
#2

You should read everything about anticheat that you download and if it's not working then just make your own anticheat it's quite simple for like money cheats and stuff...
Reply
#3

It's not even anticheat, you just dont use gta sa money function and use your own variable example
new pmoney[MAX_PLAYERS];
Reply
#4

So Sirop if you didn't understand, you should use GivePlayerMoney(playerid); function for giving money but if you want to use a variable then you need to make a timer so it sets players money to that variable... + it can check if it's different so it kicks the player for cheating but in that case you should be sure that every time your server gives a player some money it adds that amount to pmoney variable...
Reply
#5

Quote:
Originally Posted by CodeStyle175
Посмотреть сообщение
new pmoney[MAX_PLAYERS];
I use it

pInfo[playerid][HandMoney] += -input;


For anti cheat I do like that? How can I do to make it detected the cheat?

OnPlayerUpDate

GivePlayerMoney(playerid, imput);
Ban(playerid);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)