Garry's Mod Wiki

GetPredictionPlayer

Just Added

This was just added in the latest version (2020.04.29). It might only be available on the Dev Branch right now.

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.

Page Links


Special Pages


Wikis

?

Render Time: 32ms

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