Jump to content

Stats/info reciever, window won't show.


Jockie

Recommended Posts

1. You don't need player element for isCursorShowing in client-side script.

2. getElementType returns string or boolean value. What your if statement shows is that you try to check if the returned value is nil and it will never pass the check because: 1. there is no vehicle variable anywhere in the script. It should be "vehicle" not vehicle. 2. because you already checked if the clicked element isn't false or nil in the first statement.

NOTE: You should check if the account is guest account before you get its data in server-side script because guest accounts aren't saved.

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