Blockland Forums > Modification Help
Need help with code
Pages: (1/1)
Cca:
How could i connect a key bind to this code? VVV
--- Code: ---%obj.client.bottomPrint("\c0Distance\c3: " @ mFloatLength(vectorDist(%obj.getMuzzlePoint(%slot),%pos),1),1);
--- End code ---
I want it to toggle on and off when press a key
Bauklotz:
You don't do that cause server-sided keybinds are impossible, but you CAN package existing functions that are binded and do stuff, like "serverCmdPrevSeat" for comma, but of course that would depend on the client's control settings.
Pages: (1/1)