24.01.2009, 04:15
Well distance wouldn't be good if the cheater got close, but it would be good for when they're not, there is a max distance the sniper rifle can do damage. just experiement with the distance using pointtopoint(x,y,x2,y2); to get the exact measurement. Checking if the killer actually owns the weapon is a good way, but also make sure to check if the player has ammo for it (weapon hangs around even if player has 0 ammo). Also make sure to excuse the killer if the player uses /kill /suicide. Also make sure when doing weapon check to clear collision as a weapon (case player jumps off a building)