SA-MP Forums Archive
Online player is AFK - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Online player is AFK (/showthread.php?tid=601573)



Online player is AFK - Johurt - 23.02.2016

When a player is sitting in a Utility Van (ID: 552) with a Utility Trailer attached to it (ID: 611). While the driver doesn't do anything (doesn't drive and doesn't press any keys) - OnPlayerUpdate doesn't work and other players see him as AFK (like this). This bug only efffects the driver, while with the passanger is all okay.


Re: Online player is AFK - itsCody - 23.02.2016

That icon shows when the player pauses.


Re: Online player is AFK - Abagail - 24.02.2016

You are returning 0 for players in the van in OnPlayerUpdate, causing them not to update.


Re: Online player is AFK - Johurt - 24.02.2016

Quote:
Originally Posted by itsCody
Посмотреть сообщение
That icon shows when the player pauses.
No.
Quote:
Originally Posted by Abagail
Посмотреть сообщение
You are returning 0 for players in the van in OnPlayerUpdate, causing them not to update.
No.


Re: Online player is AFK - Abagail - 24.02.2016

Quote:
Originally Posted by Johurt
Посмотреть сообщение
No.
No.
I'm positive that's the issue, post your code for OnPlayerUpdate and I'll take a look.


Re: Online player is AFK - Johurt - 24.02.2016

Quote:
Originally Posted by Abagail
Посмотреть сообщение
I'm positive that's the issue, post your code for OnPlayerUpdate and I'll take a look.
Is empty, I don't use him. Just test it...


Re: Online player is AFK - Jefff - 25.02.2016

I checked and it's true, same result is when player is aiming sawn of shotgun in one point without moving camera ;d gz Kalcor