Jump to content

Player AccountID


itHyperoX

Recommended Posts

Posted

Every entry in the database must have a row id primary key. It's mostly ignored on the Lua side, but internally, these IDs are used to associate account data with actual accounts. I don't think you can easily obtain the account ID unless you make your own account system. Besides, I don't really know why would you need it.

Posted

If you dont mind making your server lag, you can use getAccounts() with a for, and then the "i" arg, which it returns (for i, k in ipairs(getAccounts()) do) is nearly an account ID. Btw, why do you need an account ID?

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