Garry's Mod Wiki

Revision Difference

Global.GetPredictionPlayer#526518

<function name="GetPredictionPlayer" parent="Global" type="libraryfunc">⤶ <description>⤶ Returns the player whose movement commands are currently being processed. The player this returns can safely have <page>Player:GetCurrentCommand</page>() called on them. See <page>Prediction</page>.⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="Player">The player currently being predicted, or NULL if no command processing is currently being done.</ret>⤶ </rets>⤶ </function>