HU/account: Difference between revisions
Jump to navigation
Jump to search
(Created page with "The account class represents a player's server account. You can get the account object associated to any client using getPlayerAccount. Accounts are unique to...") |
No edit summary |
||
Line 1: | Line 1: | ||
Az [[account]] osztály a [[HU/player|játékos]] szerveren lévő felhasználóját jelenti. Bármely klienshez tartozó [[account]] objektum lekérdezhető a [[getPlayerAccount]]. | |||
Accounts are unique to each client and can be used to store information that is persistent across map changes and user sessions. Clients that join without an account are given a temporary 'guest' account. This can store information like any other account, but isn't saved across sessions. | Accounts are unique to each client and can be used to store information that is persistent across map changes and user sessions. Clients that join without an account are given a temporary 'guest' account. This can store information like any other account, but isn't saved across sessions. | ||
Line 17: | Line 17: | ||
[[it:Account]] | [[it:Account]] | ||
[[de:Account]] | [[de:Account]] | ||
==Fordította== | |||
'''2018.12.14.''' <font size="3">'''[https://wiki.multitheftauto.com/wiki/User:Surge Surge]'''</font> |
Revision as of 09:42, 14 December 2018
Az account osztály a játékos szerveren lévő felhasználóját jelenti. Bármely klienshez tartozó account objektum lekérdezhető a getPlayerAccount.
Accounts are unique to each client and can be used to store information that is persistent across map changes and user sessions. Clients that join without an account are given a temporary 'guest' account. This can store information like any other account, but isn't saved across sessions.
When a user logs in or out, the account object assigned to them will change. As such, you must not assume that the account attached to a client remains constant during their session.
PHP code to check password hashes from the MTA server database is here.
Related scripting functions
Server
- HU/addAccount
- HU/copyAccountData
- HU/getAccount
- HU/getAccountData
- HU/getAccountName
- HU/getAccountPlayer
- HU/getAccountSerial
- HU/getAccounts
- HU/getAccountsBySerial
- HU/getAllAccountData
- HU/getPlayerAccount
- HU/isGuestAccount
- HU/logIn
- HU/logOut
- HU/removeAccount
- HU/setAccountData
- HU/setAccountPassword
Fordította
2018.12.14. Surge