GetLocalPlayer() question

Romek

Super Moderator
Reaction score
963
> I predict a desync. Go test it and tell us.
Seconded.

It'll probably only run the trigger for the triggering player.
 

Viikuna

No Marlo no game.
Reaction score
265
It depends. Each players computer will only register that players arrow key event.

If you need to get player 1 arrow key press data for player 2, it kinda fails because there is no event for player 1 in player 2´s computer.


Actually, you know I think you might be able to use GetLocalPlayer in any TriggerRegisterPlayerEvent and it just registers as all?

Some people used this method back in the day when submitting spells here in TheHelper. I just dont think it will work. My logic says that there will be just one event, and it will be different for each player.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
I think it will work, but problems might rise once you do things such as creating handles in the actions. I'm not positive but I tried a similar event function like that, and it ended up causing a desync.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top