Garry's Mod Wiki

GetPredictionPlayer

GetPredictionPlayer

  Player GetPredictionPlayer()

Description

Returns the player whose movement commands are currently being processed. The player this returns can safely have Player:GetCurrentCommand() called on them. See Prediction.

Returns

1 Player
The player currently being predicted, or NULL if no command processing is currently being done.

Special Pages


Wikis

?

Render Time: 19ms

DB GetPage 2
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6