23.11.2008, 09:29
Danut,
It works like this:
Let's say that A is the real money of the player (what you see in the upper right of your screen in samp)
and B is the value of money that the script saves.
When a player cheats, they change the value A to ... whatever they want
a cheater can't change the B value with his stupid hacks
So there will be a difference between value A and value B
That difference is what this filerscript detects.
When there is a difference between the 2 values, the player gets kicked/banned
(you can choose that yourself if he'll get kicked or banned)
Why do you need to change all functions from GivePlayerMoney to F_GivePlayerMoney:
When you would use the GivePlayerMoney function, it's impossible for the script to change value B
When you use GivePlayerMoney, the script changes the value B + gives you money (value A)
I hope you understand it now
(and if you don't understand it it'll be because of my bad english xD)
(i put this info in the 1st post to
)
It works like this:
Let's say that A is the real money of the player (what you see in the upper right of your screen in samp)
and B is the value of money that the script saves.
When a player cheats, they change the value A to ... whatever they want
a cheater can't change the B value with his stupid hacks
So there will be a difference between value A and value B
That difference is what this filerscript detects.
When there is a difference between the 2 values, the player gets kicked/banned
(you can choose that yourself if he'll get kicked or banned)
Why do you need to change all functions from GivePlayerMoney to F_GivePlayerMoney:
When you would use the GivePlayerMoney function, it's impossible for the script to change value B
When you use GivePlayerMoney, the script changes the value B + gives you money (value A)
I hope you understand it now

(i put this info in the 1st post to
