Garry's Mod Wiki



Returns the last command which was sent by the specified player. This can only be called on the player which GetPredictionPlayer() returns.

When called clientside in singleplayer during WEAPON:Think, it will return nothing as the hook is not technically predicted in that instance. See the note on the page.
This will fail in GM:StartCommand.


1 CUserCmd
Last user commands

Page Links

Special Pages



Render Time: 31ms

DB GetPage 4
Generate Html 5
SaveChanges (1) 8
Render Body 0
Render Sidebar 12