![]() |
setcursor not working?
I wanted to hide the cursor and attach an image to the mouses x and y for a custom cursor. When I do "setcursor 1;" in the offline editor, it works fine, and hides the cursor. But, when I try doing it online it doesn't work. So my question is, is the setcursor command not working in v4 or what?
|
You did add //#CLIENTSIDE to the top...right?
|
Yes, of course I did.
|
Err, I thought it was setcursor("filename")? or maybe I am thinking of setcursor2...
In any event, check your console (F2) to see if there are any errors. |
I do not think setcursor is working with v4.
It is probably because implementing it for all the different platforms could take some extra work. |
On the wiki, it says setcursor(float); for GS2. So, I don't see why it wouldn't be supported in v4. I'll check the console though and see if there are any errors.
Edit: Checked the console. Quote:
|
Quote:
Also I would maybe try 'setcursor2'. Only because 'setcursor2' is still listed on the Client Script Functions page, while 'setcursor' is not. And if setcursor2 is giving the same error, then update the wiki ;). |
Hmm I tried setcursor2 as well. But, I got nothing with that one either. I tried ti with both a .png and .ico file.
|
Quote:
I'm still guessing that functionality for it in v4 does not exist (yet). |
1 Attachment(s)
Well I hope Stefan gets it to work or something because I really wanted to use this cursor. I made it to match our gui.
|
I was pretty sure Stefan said setcursor has been removed in v4.
|
I noticed this a while ago when trying to hide the mouse for a script.
I'd like to see it back. :) |
Yeah, it would really finish off Shangri-La's GUI if we could use that cursor I made.
|
yeah it was removed :frown: I liked it
|
| All times are GMT +2. The time now is 08:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.