ZH-CN/账户

From Multi Theft Auto: Wiki
Revision as of 06:14, 4 February 2021 by Qwe7769611 (talk | contribs) (Created page with "account类表示player的服务器帐户。您可以使用getPlayerAccount获取与任何客户端关联的account对象. 帐户对于每个客户机都是唯...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

account类表示player的服务器帐户。您可以使用getPlayerAccount获取与任何客户端关联的account对象.

帐户对于每个客户机都是唯一的,可以用来存储跨映射更改和用户会话的持久信息。没有帐户就加入的客户将获得一个临时“来宾”帐户。它可以像任何其他帐户一样存储信息,但不会跨会话保存.

当用户登录或注销时,分配给他们的帐户对象将更改。因此,您不能假设附加到客户机的帐户在会话期间保持不变.

从MTA服务器数据库检查密码散列的PHP代码是PHP | here.

相关脚本函数

Server