How would I move a player in a direction when a chat command is given or a timer ends?
What I mean is, are there other ways to do player movement other than having the player execute +forward from console.
One of those?
Will this work in a clientside only script?
Clientside, you can’t move a player except for using their binds
Can’t you with GM.SetupMove?
[lua]hook.Add( “CreateMove”, “MightActuallyWork”, function( cmd )
cmd:SetButtons( cmd:GetButtons() | IN_FORWARD ) --Imitate +forward being pressed
Might work, untested. It’s completely clientside and imitates +forward being pressed.
no go. works but does nothing.