GetLocalPlayer()

BRUTAL

I'm working
Reaction score
118
Because functions like PanCameraToTimed don't take player arguements so you have to do the GetLocalPlayer() thing.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Well, first... Add a debug msg to that pancam function... Just to see if it runs :D
Also, add one inside the "If" ;)
 

lovexylitol

New Member
Reaction score
2

Romek

Super Moderator
Reaction score
964
GetLocalPlayer is used, in this case, to limit the execution of a function to only one player.
The function otherwise affects all players.

PanCameraToTimed affects all players. Using GetLocalPlayer to restrict it to each individual player 11 times is silly, as it's the same effect, but with much less efficiency.

The problem is with the rest of your code. Feel free to post that.
 
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