Jump to content

Showing Cursor

Recommended Posts

Posted (edited)

I have a simple script to show the cursor on bind, but I don't want any binds ( except the bind to switch the cursor ) to be usable when it's shown.

function toggleCursor()
	if (isCursorShowing()) then
		showCursor(true, true)
bindKey("m", "down", "togglecursor")

This works but the M-key is not usable.

Edited by Derbo
Link to post
  • Scripting Moderators

Have you tried using onClientKey event instead?

Link to post
On 02/06/2021 at 15:59, srslyyyy said:

Have you tried using onClientKey event instead?

Can't figure out how to use it.

Can you complete the script for me please?

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...