Jump to content

Cursor Not Showing


Recommended Posts

Hello all,

I know that I am posting too many help topics. I am sorry about that but I am really new on LUA and I am trying to learn new things with scripting new scripts all the time for improving myself. I am sorry about posting too many help topic.

I have got another problem too. I was trying to do a simple cursor enable, disable script but I am getting this debug script error all the time: http://i.imgur.com/DDeibZO.png

function MouseOn(source, thePlayer, commandName) 
local thePlayer = ( source ) 
showCursor ( thePlayer, true )  
end 
addCommandHandler("mouseon",MouseOn) 
  
  
function MouseOff(source) 
local thePlayer = ( source ) 
showCursor ( thePlayer, false )  
end 
addCommandHandler("mouseoff",MouseOff) 

Link to comment

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...