Gamemode.FinishMove

From GMod Wiki

Jump to: navigation, search
Event Hook
Hook NameFinishMove
SyntaxGM:FinishMove( Player player, Cmovedata movedata )
DescriptionCalled after Move.
ReturnsNil
Lua StateNewerServer.png
BBCode[b][url=wiki.garrysmod.com/?title=Gamemode.FinishMove]Gamemode.FinishMove [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



DescriptionRuns a message when the player stops moving.
Used onNewerServer.png
Code
 
 
function GM:FinishMove(ply, movedata)
 
ply:PrintMessage(HUD_PRINTTALK, "You stopped moving")
 
end   
Output"You stopped moving" is printed into the players chat area.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox