Jump to content

Accounts o,o


Markeloff

Recommended Posts

Posted

Can someone explain for me what's the difference between

getAccountPlayer ( account theAccount ) 

and

getAccountName ( account theAccount ) 

.

430x73_B2E03D_FF9900_000000_000000.png

Some people want it to happen, some wish it would happen, others make it happen.

Posted

Why don't you read it yourself?

getAccountPlayer will return a player element, the player that is currently using the account you provide the function with. It will return false if no-one is using the account.

getAccountName will return the name of an account, instead of the account element. The account element is what you use to do account-related things - not the actual name, which this function will retrieve.

If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.

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