[Trigger] Potential desync with getlocalplayer whiting out a player's screen

Status
Not open for further replies.
Level 7
Joined
Mar 16, 2014
Messages
169
I have a spell that when cast, wipes the player's screen for a few seconds to white. My map is desyncing a lot and getlocalplayer apparently causes desyncs. Should this trigger be causing desyncs? The spell has been used countless times without desyncing.

YyOxUTQ.png
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Looks fine to me but perhaps only put the DisplayCineFilter lines inside the local if block. Everything else can be done outside of the block and then just show the filter for a specific player. You could also do it without ifblocks at all and just write call DisplayerCineFilter(GetLocalPlayer() == Player(udg_FlashbangPlayerNumber)).
 
Status
Not open for further replies.
Top