squar Posted February 8, 2013 Share Posted February 8, 2013 (edited) DELETED! Remove Edited February 8, 2013 by Guest Link to comment
AMARANT Posted February 8, 2013 Share Posted February 8, 2013 Anyone knows the problem? Yeah, anyone knows that you got a nil value for your element which you want to delete. Is your script client-side or server-side? Link to comment
csiguusz Posted February 8, 2013 Share Posted February 8, 2013 theObject is not defined. Link to comment
iPrestege Posted February 8, 2013 Share Posted February 8, 2013 theObject is not defined. If used in server-side will be defined . Link to comment
squar Posted February 8, 2013 Author Share Posted February 8, 2013 (edited) This function is serverside. The client side one is gonna trigger this one using onClientGUIClick and triggerServerEvent Edited February 8, 2013 by Guest Link to comment
csiguusz Posted February 8, 2013 Share Posted February 8, 2013 Why would it become defined if it is used server-side? Link to comment
csiguusz Posted February 8, 2013 Share Posted February 8, 2013 This function is serverside. The client side one is gonna trigger this one using onClientGUIClick and triggerServerEvent Then the problem is with triggering, you don't pass theObject to server-side. Link to comment
AMARANT Posted February 8, 2013 Share Posted February 8, 2013 If you're trying to delete created client-side object (any element actually) on server then you won't be able to do that. Because client-side elements aren't synced server-side. You can't also delete server-side elements on your client. Link to comment
iPrestege Posted February 8, 2013 Share Posted February 8, 2013 So , Show The Client Side Please . 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