player afk for me - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: player afk for me (
/showthread.php?tid=648549)
player afk for me -
ivndosos - 24.01.2018
So I'm testing with my friend the game mode but hes not moving and he has the afk icon above him but hes not, same for him he sees me that way too..
what could cause it and which part of the code?
Re: player afk for me -
jlalt - 24.01.2018
go under OnPlayerUpdate callback, see if there's no return value / there's return 0;
make it / write it as return 1;
https://sampwiki.blast.hk/wiki/OnPlayerUpdate
Return Values:
- 0 - Update from this player will not be replicated to other clients.
- 1 - Indicates that this update can be processed normally and sent to other players.
Re: player afk for me -
ivndosos - 24.01.2018
Quote:
Originally Posted by jlalt
go under OnPlayerUpdate callback, see if there's no return value / there's return 0;
make it / write it as return 1;
https://sampwiki.blast.hk/wiki/OnPlayerUpdate
Return Values: - 0 - Update from this player will not be replicated to other clients.
- 1 - Indicates that this update can be processed normally and sent to other players.
|
thanks it works now