open.mp forum
[Pawn] AFK Damage - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] AFK Damage (/showthread.php?tid=1706)



AFK Damage - Lord_Bukake - 2021-02-24

Hi everyone, how can I hurt a player who is in afk?

I have seen this system on other servers but have no idea how to program it.



Could you help me please, thanks.


RE: AFK Damage - destiezk - 2021-02-24

SA-MP does it automatically if I correctly know.


RE: AFK Damage - DaZzY - 2021-02-24

(2021-02-24, 04:57 PM)Lord_Bukake Wrote: Hi everyone, how can I hurt a player who is in afk?

I have seen this system on other servers but have no idea how to program it.



Could you help me please, thanks.



Use Weapon-config?



this include have?lot of features...


RE: AFK Damage - Kwarde - 2021-02-24

(2021-02-24, 05:52 PM)destiezk Wrote: SA-MP does it automatically if I correctly know.

No, it does not.


RE: AFK Damage - destiezk - 2021-02-24

(2021-02-24, 08:09 PM)Kwarde Wrote:
(2021-02-24, 05:52 PM)destiezk Wrote: SA-MP does it automatically if I correctly know.
No, it does not.

For me it does, in a complete blank gamemode.


RE: AFK Damage - Kwarde - 2021-02-24

Note that I assumed afk as: an 'alt tabbed player' (otherwise, if they would stay in-game the server would not see them as afk)
They might be killed once, but after their respawn they'd be untouchable.