damage when afk
#1

well in my server,when someone is not driving a vehicle and he is afk ,if someone shoots him,and he gets back to game he loses hp,why?
Reply
#2

It's been said many times in the past. Check in OnPlayerWeaponShot callback if the type is player and the player was hit is AFK (you're supposed to have a system for that) and if so, return 0 to prevent the bullets from causing damage.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)