21.08.2011, 01:23
sorry i'm from argentina, that's why my english is not good.
you force a player to reconect, that means that when you use this function on a player, the player will disconnect and then connect.
if player is cheating, his health/armour won't change, so u can check if it there's no variation to know if a players is using or not any health/armour cheat.
btw OnPlayerHealthChange (and armour) work as kind of anticheat.
how it interfere with ur gm, may i can edit the code to fix that.
and about OnPlayerUseMachine yes, it is called when a player use a vending machine
Quote:
I don't get it though, so if you crash, it'll invite them back into the game. If so that'd be so damn useful and the whole include is!
Nice include, it's well done! |
Quote:
ABout the OnPlayerShotPlayer
the Health is the Health lost right ? same with armour? And please check this topic : https://sampforum.blast.hk/showthread.php?tid=278151 |
btw OnPlayerHealthChange (and armour) work as kind of anticheat.
Quote:
Since it interferes with my gamemode somehow, I'm taking only the Reconnect function. Nice work though with the rest.
By the way, is that OnPlayerUseMachine to detect the usage of vending machines? |
and about OnPlayerUseMachine yes, it is called when a player use a vending machine