Client Scripting Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
This page lists all the '''client-side''' scripting classes that are implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|client functions]]. For information on how to enable OOP in 1.4 please refer to [[Meta.xml]].
This page lists all the '''client-side''' scripting classes that are implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|client functions]]. For information on how to enable OOP in 1.4 please refer to [[Meta.xml]].


Classes can be created by either calling the '''create''' method, when applicable, or by calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.
Classes can be instantiated by either calling the '''create''' method, when applicable, or by calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.


Here is a list of all the current classes (nested classes are subclasses of their parent):
Here is a list of all the current classes (nested classes are subclasses):


*[[Vector3D_class|Vector3D]]
*[[Vector3D_class|Vector3]]
*[[Vector2D_class|Vector2]]
*[[Matrix_class|Matrix]]
*[[Matrix_class|Matrix]]
*[[Camera_class|Camera]]
*[[Element_class|Element]]
*[[Element_class|Element]]
**[[Ped_class|Ped]]
**[[Ped_class|Ped]]
Line 23: Line 25:
**[[Water_class|Water]]
**[[Water_class|Water]]
**[[Sound_class|Sound]]
**[[Sound_class|Sound]]
**[[Sound3D_class|Sound3D]]
***[[Sound3D_class|Sound3D]]
**[[Weapon_class|Weapon]]
**[[Weapon_class|Weapon]]
**[[GuiElement_class|GuiElement]]
**[[GuiElement_class|GuiElement]]

Latest revision as of 11:21, 9 April 2014

Contributors: Did you create a page but it's not on this list? Confused? Read: Adding Pages to Categories and Templates

This page lists all the client-side scripting classes that are implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural client functions. For information on how to enable OOP in 1.4 please refer to Meta.xml.

Classes can be instantiated by either calling the create method, when applicable, or by calling the class. For example: Vehicle(...) is the same as Vehicle.create(...).

Here is a list of all the current classes (nested classes are subclasses):