• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Suggestion] AFK System in O:MP
#3
(2019-04-15, 11:39 AM)Natsu Wrote: "find out when player is AFK by the function or a callback" -?the fastest method.

Code:
if(NetStats_MessagesRecvPerSecond(playerid) == 1)
{
//Player is AFK.
}
I am not want only find?out, i am want know what?about cancelling server desync in O:MP?when player in AFK, as it done?in?MTA, but with callback that show that player now is?AFK,?for opportunity to write your self AFK system for players. I mean when player pressing ESC, he don't must "get stucked"?on server, but it should be tracked
[Image: images?q=tbn:ANd9GcS-kXWq9BAEEcbuJGqrhQ_...SmXLgxj3KA]
[Image: aWbv5wm.gif]

  Reply


Messages In This Thread
AFK System in O:MP - by Mark2 - 2019-04-15, 07:40 AM
RE: AFK System in O:MP - by Natsu - 2019-04-15, 11:39 AM
RE: AFK System in O:MP - by Mark2 - 2019-04-15, 12:08 PM
RE: AFK System in O:MP - by Manyula - 2019-04-15, 02:34 PM
RE: AFK System in O:MP - by Godfather - 2019-04-15, 02:43 PM
RE: AFK System in O:MP - by Manyula - 2019-04-15, 02:52 PM
RE: AFK System in O:MP - by RenanMsV - 2019-04-15, 02:48 PM
RE: AFK System in O:MP - by TwisT3R - 2019-04-15, 06:28 PM
RE: AFK System in O:MP - by Zenitram - 2019-04-15, 06:45 PM
RE: AFK System in O:MP - by AkiraR - 2019-04-15, 07:25 PM

Forum Jump: