Markeloff Posted November 26, 2013 Share Posted November 26, 2013 Can someone explain for me what's the difference between getAccountPlayer ( account theAccount ) and getAccountName ( account theAccount ) . Link to comment
Dealman Posted November 26, 2013 Share Posted November 26, 2013 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. Link to comment
Driggero Posted November 26, 2013 Share Posted November 26, 2013 What the sexy schmuck above me says is correct. They both work in relation to accounts and just return different values. The MTA wiki is your friend 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