I thought I'd let you know ahead of time. Perhaps you want to fix this yourself or I can provide a PR on the weekend (too into my gamemode for the contest at the moment 😄 )
PR it I guess. I don’t use that stuff myself. And if I need it I’ll probably write my own proper functions for it anyway in the resource that I need it in lol
Expected behavior: When a BigMessage timer has run out, it transitions out of the screen. Current behavior: Transition out never happens
Cause: When the "TRANSITION_OUT" function is called, the scaleform instantly gets disposed
Fix: To fix this, we must add a
_hasAnimatedOut
condition and extend the_timer
The
_hasAnimatedOut
bool should be initialized asfalse
every time a message method is called. For example:Source: https://github.com/SonnyMontana/ragemp-cops-and-robbers/blob/ef5eff1f1301e2db113dd10ae72cc577dc50a1f4/client_packages/gamemode/scaleform_messages/BigMessage.js#L33
I thought I'd let you know ahead of time. Perhaps you want to fix this yourself or I can provide a PR on the weekend (too into my gamemode for the contest at the moment 😄 )