Client: Difference between revisions
(Removed "remote administrator" since the program doesnt exists anymore, Please undo this if "remote administrator" means something we still have.) |
No edit summary |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
The client class represents any client that | The client class represents any client that is connected to the server. Therefore, clients are created and destroyed automatically by players' connections or disconnections. They usually are the MTA: SA copy that a [[player]] is using (so it has more information about the world), but it can also be the [[Element/Console|server console]]. | ||
All client functions | All client-managing functions operate on both player and server console elements, so the element responsible for a kick can be the server console, for example. However, the server console is protected against some of that functions: it can't get kicked or banned. | ||
The players' clients are also responsible of informing the server about the state of the elements that they're [[SetElementSyncer|syncing]], so they're essential for accurate sync of peds and vehicles. They also receive data from other clients and the server. | |||
==Related scripting functions== | ==Related scripting functions== | ||
{{Admin_functions}} | |||
{{ | |||
[[Category:Scripting Concepts]] | [[Category:Scripting Concepts]] |
Latest revision as of 10:12, 22 June 2014
The client class represents any client that is connected to the server. Therefore, clients are created and destroyed automatically by players' connections or disconnections. They usually are the MTA: SA copy that a player is using (so it has more information about the world), but it can also be the server console.
All client-managing functions operate on both player and server console elements, so the element responsible for a kick can be the server console, for example. However, the server console is protected against some of that functions: it can't get kicked or banned.
The players' clients are also responsible of informing the server about the state of the elements that they're syncing, so they're essential for accurate sync of peds and vehicles. They also receive data from other clients and the server.