Posts: 174
Threads: 67
Joined: Jan 2014
Reputation:
0
I've to say thats wonderfull 0.3z cause there arent any lagshots BUT anyone in RP servers can now DM while player being AFK and they can abuse it alot, and no one will see who killed him...
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
Do you refer to that bug was reported since the RC stage? If so, a solution already has been posted. In OnPlayerWeaponShot callback, check if the type is player and that player is afk (alt-tabbed) and if they are, return 0 to prevent the player from being hit.
Posts: 174
Threads: 67
Joined: Jan 2014
Reputation:
0
Well, I dont have that callback, what to do?
Posts: 174
Threads: 67
Joined: Jan 2014
Reputation:
0
And thats would avoid that everyone can kills you when you AFK?
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
By adding the callback to your mode only, no. You should do those checks I mentioned above and of course you need to have a system that detects when players are alt-tabbed. By searching you can find all of them!
Posts: 174
Threads: 67
Joined: Jan 2014
Reputation:
0
How can I've it? I'm not scripter proffesional... I've the code he brought me on WIki and now what?