Blaze The Cat
Member
I'm still having issues with this.
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.
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.