Jump to content

Script help


Recommended Posts

Alright, so in my script i have these two lines,

  
removeEventHandler("onClientGUIClick",btn_Login,onClickBtnLogin) 
if GuestEnable == true then removeEventHandler("onClientGUIClick",btnGuest,onClickGuest) 
  

Yet, for some odd reason on /debugscript 3 it is giving me this warning, the script works fine, but i wanna get rid of the warning

  
WARNING: script\client.lua:220: Bad Argument @'removeEventHandler' [Expected element at argument 2] 
WARNING: script\client.lua:221: Bad Argument @'removeEventHandler' [Expected element at argument 2] 
  

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