Fly lag?wtf
#1

Heey all,
I have added something in my script and now players flying(lag).
If i drive to a player he dont see my move.
Anyone knows how to fix this?
No errors in script.

Thanks Admigo
Reply
#2

Check what you're returning in OnPlayerUpdate. Returning 0 in OnPlayerUpdate causes players to desync.
Reply
#3

So return needs to be 0 from onplayerupdate?
Reply
#4

I Deleted some parts in script such as onplayerpickuppickup,onplayertext and onplayerkeystatechange but same problem.
Reply
#5

Player:lol
GetAttachment.jpg
Player:Admigo
sa-mp-054.jpg
lol dont see me in front of her. Admigo is not in range of here(look radar)
Admigo cant see that lol is moving.
How can i fix this?
Reply
#6

OnPlayerUpdate should always return 1. (Unless of course, you want to desync the player).

Could you show the OnPlayerUpdate callback?
Reply
#7

OMG Thanks you so much! Deleted a return in onplayerupdate in a admin script! Rep+:P
Reply
#8

Quote:
Originally Posted by admigo
Посмотреть сообщение
OMG Thanks you so much! Deleted a return in onplayerupdate in a admin script! Rep+:P
Haha no problem

I've done it before, and spent about two days looking aswell -.-

Happy Scripting!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)