Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...