15.05.2016, 19:08
Okay; I'm using kinda' an anticheat of my own edition, I edit it always and I want to add a feature like
when anticheat detects a desynced or hacked gun, I want the script to remove that desynced gun from the player when he attempts to log off? how can I remove the specific desynced / hacked weapon from the player hand? all I know is ClearGuns(playerid); and by that It'll remove all of the player's guns and I dont want him to unfairly lose his other guns, I want to remove the desynced gun instead
I already have "stock TakeWeapon(playerid, pgun) for each weapon ID but how exactly am I going to define the gun as hacked so it can automaticly get removed?
when anticheat detects a desynced or hacked gun, I want the script to remove that desynced gun from the player when he attempts to log off? how can I remove the specific desynced / hacked weapon from the player hand? all I know is ClearGuns(playerid); and by that It'll remove all of the player's guns and I dont want him to unfairly lose his other guns, I want to remove the desynced gun instead
I already have "stock TakeWeapon(playerid, pgun) for each weapon ID but how exactly am I going to define the gun as hacked so it can automaticly get removed?