tosfera Posted October 27, 2013 Share Posted October 27, 2013 Hey guys, Somehow, I can't disable the cursor in my scripts. I've created a login system using the dx functions. Works good, but at the joining it already starts being gay. The cursor is shown, without any code. I commented all my showCursor's, in every single file/script/gamemode etc. But it's still there. Now, when I press F8 twice ( to open and close the debug log thing ), the cursor will be gone. I'll have to enable it using runcode. After that, I'm getting my char screen. I can still dis- and en-able the cursor using runcode. But whenever I spawn as one of my characters. There is no way I can disable my cursor... stopping all the resources, runcode, nothing... o.o' Anyone had this problem before or something like that? I aint gonne post 20k lines of code... Link to comment
Moderators Citizen Posted October 27, 2013 Moderators Share Posted October 27, 2013 Hummm why not using a showCursor( false ) when you want the cursor to be hidden ? I have to admit that I don't really understand your problem. I just understood that the cursor is already enabled when you join the server and it looks like you don't want this behaviour. Link to comment
tosfera Posted October 27, 2013 Author Share Posted October 27, 2013 I can't disable the cursor, showCursor ( false ) doesn't work. I can't remove the cursor any way. Stopped all the resource I had running, restarted runcode, restarted my account system, nothing. The cursor didn't want to leave. But I deleted my script which contained 20k lines of code and started over again. Link to comment
Castillo Posted October 27, 2013 Share Posted October 27, 2013 Maybe you had the input enabled? Link to comment
tosfera Posted October 27, 2013 Author Share Posted October 27, 2013 if the input is enabled, it will show the... oh god. I think I just deleted 20k lines of code for nothing. #facepalm edit1; Nope, it is still the same. Somehow the cursor shows whenever I create the dx... edit2; oke I got this now, whenever you use guiBringToFront it will enable your cursor for 50%. Any input change will change the state of your cursor. For example; open F8, and close F8. It will make the cursor dissapear. Not sure if this is a bug, but it did gave me a pain in the but. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now