Chopper Posted January 27, 2014 Share Posted January 27, 2014 Hello, What i need help with is, i want to detect if the player hovers the cursor on an element without clicking on it, then attach it to a function. is it possible? Thanks Link to comment
DNL291 Posted January 27, 2014 Share Posted January 27, 2014 Do you mean a GUI element, a element of the GTA world or what? Link to comment
Chopper Posted January 27, 2014 Author Share Posted January 27, 2014 Element in GTA. vehicles, objects, peds. Link to comment
Alexs Posted January 27, 2014 Share Posted January 27, 2014 Element in GTA. vehicles, objects, peds. U can use 'onClientCursorMove', 'processLineOfSight' and maybe 'getWorldFromScreenPosition'. 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