Posts: 1,042
Threads: 32
Joined: Apr 2008
Reputation:
0
GetPlayerHealth of playerid OnPlayerDeath? If its more than 0, ban?
Posts: 129
Threads: 18
Joined: Dec 2007
Reputation:
0
Not work ... I use /kill and I have ban:/
Posts: 1,042
Threads: 32
Joined: Apr 2008
Reputation:
0
/Kill will kill the player though..
Posts: 1,042
Threads: 32
Joined: Apr 2008
Reputation:
0
He can sniper from miles away.
What happens is, player stays alive, pretends someone kills him, but he doesnt die, so if this is the case, ban.
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
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)
Posts: 129
Threads: 18
Joined: Dec 2007
Reputation:
0
Lazarus thank you!
It's works perfect!