Strange pausing behaviour
#3

You need to return 1 at the end of the callback otherwise it will not sync it for the other players.

There is a mistake in your code. You are creating a dynamic 3D label in every tick. You do not destroy the previous, you do not update the text and you overwrite the previous.

Do not use OnPlayerUpdate for this, hook SetPlayerWantedLevel and if wanted level goes from 0 to X, then create the label. If it is set back to 0, destroy the label and reset variable. If wanted level changes value above 0, update the text only without re-creating the label.
Reply


Messages In This Thread
Strange pausing behaviour - by Proxus - 08.02.2019, 14:41
Re: Strange pausing behaviour - by ComDuck - 08.02.2019, 14:57
Re: Strange pausing behaviour - by Calisthenics - 08.02.2019, 14:59
Re: Strange pausing behaviour - by Proxus - 08.02.2019, 15:03
Re: Strange pausing behaviour - by Calisthenics - 08.02.2019, 15:11
Re: Strange pausing behaviour - by Proxus - 08.02.2019, 16:31
Re: Strange pausing behaviour - by Calisthenics - 08.02.2019, 16:39
Re: Strange pausing behaviour - by Dayrion - 08.02.2019, 16:39
Re: Strange pausing behaviour - by Proxus - 08.02.2019, 16:59
Re: Strange pausing behaviour - by Dayrion - 08.02.2019, 17:15

Forum Jump:


Users browsing this thread: 1 Guest(s)