Client Scripting Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pageclass class="client"></pageclass>
<pageclass class="client"></pageclass>
{{Adding_Pages_to_Categories_and_Templates}}
{{Adding_Pages_to_Categories_and_Templates}}
This page lists all the '''client-side''' scripting classes that are being implemented in the 1.4 version of Multi Theft Auto. To request a new class, function or event, use [[Requested Functions and Events]]
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]].


The create function of an element can be invoked by simply doing Element(arg1, arg2, )
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(...)''.
This is the same as doing Element.create(arg1, arg2, ...)


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


==Element==
*[[Vector3D_class|Vector3]]
{{Client_element_class}}
*[[Vector2D_class|Vector2]]
 
*[[Matrix_class|Matrix]]
==Vehicle==
*[[Camera_class|Camera]]
{{Client_vehicle_class}}
*[[Element_class|Element]]
 
**[[Ped_class|Ped]]
==Ped==
**[[Player_class|Player]]
{{Client_ped_class}}
**[[Vehicle_class|Vehicle]]
 
**[[Object_class|Object]]
==Player==
**[[Marker_class|Marker]]
{{Client_player_class}}
**[[Blip_class|Blip]]
 
**[[Pickup_class|Pickup]]
==Object==
**[[ColShape_class|ColShape]]
{{Client_object_class}}
**[[Projectile_class|Projectile]]
 
**[[RadarArea_class|RadarArea]]
==Camera==
**[[Team_class|Team]]
{{Client_camera_class}}
**[[Water_class|Water]]
 
**[[Sound_class|Sound]]
==Marker==
***[[Sound3D_class|Sound3D]]
{{Client_marker_class}}
**[[Weapon_class|Weapon]]
 
**[[GuiElement_class|GuiElement]]
==Blip==
***[[GuiWindow_class|GuiWindow]]
{{Client_blip_class}}
***[[GuiButton_class|GuiButton]]
 
***[[GuiEdit_class|GuiEdit]]
==Pickup==
***[[GuiLabel_class|GuiLabel]]
{{Client_pickup_class}}
***[[GuiMemo_class|GuiMemo]]
 
***[[GuiImage_class|GuiImage]]
==Collision shape==
***[[GuiComboBox_class|GuiComboBox]]
{{Client_colshape_class}}
***[[GuiCheckBox_class|GuiCheckBox]]
 
***[[GuiRadioButton_class|GuiRadioButton]]
==Projectile==
***[[GuiScrollPane_class|GuiScrollPane]]
{{Client_projectile_class}}
***[[GuiScrollBar_class|GuiScrollBar]]
 
***[[GuiProgressBar_class|GuiProgressBar]]
==Radar area==
***[[GuiGridList_class|GuiGridList]]
{{Client_radararea_class}}
***[[GuiTabPanel_class|GuiTabPanel]]
 
***[[GuiTab_class|GuiTab]]
==Team==
*[[Resource_class|Resource]]
{{Client_team_class}}
*[[Timer_class|Timer]]
 
*[[File_class|File]]
==Water==
*[[XmlNode_class|XmlNode]]
{{Client_water_class}}
 
==Sound==
{{Client_sound_class}}
 
==Weapon==
{{Client_weapon_class}}
 
==GUI element==
{{Client_GUIElement_class}}
 
==GUI Window==
{{Client_GUIWindow_class}}
 
==GUI Button==
{{Client_GUIButton_class}}
 
==GUI Edit==
{{Client_GUIEdit_class}}
 
==GUI Label==
{{Client_GUILabel_class}}
 
==GUI Memo==
{{Client_GUIMemo_class}}
 
==GUI Image==
{{Client_GUIImage_class}}
 
==GUI Combo Box==
{{Client_GUIComboBox_class}}
 
==GUI Check Box==
{{Client_GUICheckBox_class}}
 
==GUI Radio Button==
{{Client_GUIRadioButton_class}}
 
==GUI Scroll Pane==
{{Client_GUIScrollPane_class}}
 
==GUI Scroll Bar==
{{Client_GUIScrollBar_class}}
 
==GUI Progress Bar==
{{Client_GUIProgressBar_class}}
 
==GUI Grid List==
{{Client_GUIGridList_class}}
 
==GUI Tab Panel==
{{Client_GUITabPanel_class}}
 
==GUI Tab==
{{Client_GUITab_class}}
 
==Resource==
{{Client_resource_class}}
 
==Timer==
{{Client_timer_class}}
 
==File==
{{Client_file_class}}
 
==Xml Node==
{{Client_xmlNode_class}}

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):