Anyone know how to remotely control a player?

Status
Not open for further replies.
I'm still having issues with this.

Code:
COM_AddCommand("dojump", function(p)
	p.cmd.buttons = $ | BT_JUMP
end)

hud.add(function(v, player)
	v.drawString(16, 16, tostring(player.cmd.buttons))
end)

I've tried to get in a way to remotely control a player through their buttons, but it doesn't seem to work; the flags change just fine, but nothing happens.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top