ZH-CN/元素/玩家: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ The player class represents pedestrians controlled by clients. A player object is created when a client connects to the server and destroyed when he quits. Players c...")
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
The player class represents pedestrians controlled by clients. A player object is created when a client connects to the server and destroyed when he quits. Players cannot be created or destroyed otherwise.
player类表示由客户端控制的行人。当客户端连接到服务器时,将创建一个player对象,当客户端退出时,该对象将被销毁。玩家不能以其他方式创建或销毁。
 
The element type of this class is '''"player"'''.


这个类的元素类型是“player”。
==Related scripting functions==
==Related scripting functions==
===Client===
===Client===

Revision as of 06:11, 4 February 2021

player类表示由客户端控制的行人。当客户端连接到服务器时,将创建一个player对象,当客户端退出时,该对象将被销毁。玩家不能以其他方式创建或销毁。

这个类的元素类型是“player”。

Related scripting functions

Client

Shared


Server

Shared