https://wiki.multitheftauto.com/api.php?action=feedcontributions&user=ChrML&feedformat=atomMulti Theft Auto: Wiki - User contributions [en]2024-03-29T07:34:12ZUser contributionsMediaWiki 1.39.3https://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16159Template:Handling functions2008-03-10T23:30:33Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createHandling]]<br />
*[[addDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetPercentSubmerged]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetDriveType]]<br />
*[[handlingGetEngineType]]<br />
*[[handlingGetNumberOfGears]]<br />
*[[handlingGetEngineAcceleration]]<br />
*[[handlingGetEngineInertia]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDeceleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetPercentSubmerged]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetDriveType]]<br />
*[[handlingSetEngineType]]<br />
*[[handlingSetNumberOfGears]]<br />
*[[handlingSetEngineAcceleration]]<br />
*[[handlingSetEngineInertia]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDeceleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16133Template:Handling functions2008-03-07T21:25:40Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createHandling]]<br />
*[[setDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetPercentSubmerged]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetDriveType]]<br />
*[[handlingGetEngineType]]<br />
*[[handlingGetNumberOfGears]]<br />
*[[handlingGetEngineAcceleration]]<br />
*[[handlingGetEngineInertia]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDeceleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetPercentSubmerged]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetDriveType]]<br />
*[[handlingSetEngineType]]<br />
*[[handlingSetNumberOfGears]]<br />
*[[handlingSetEngineAcceleration]]<br />
*[[handlingSetEngineInertia]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDeceleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16132Template:Handling functions2008-03-07T21:18:11Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createHandling]]<br />
*[[setDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetPercentSubmerged]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetDriveType]]<br />
*[[handlingGetEngineType]]<br />
*[[handlingGetEngineAcceleration]]<br />
*[[handlingGetEngineInertia]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDeceleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetPercentSubmerged]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetDriveType]]<br />
*[[handlingSetEngineType]]<br />
*[[handlingSetEngineAcceleration]]<br />
*[[handlingSetEngineInertia]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDeceleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16131Template:Handling functions2008-03-07T21:14:05Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createHandling]]<br />
*[[setDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetPercentSubmerged]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetEngineAcceleration]]<br />
*[[handlingGetEngineInertia]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDeceleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetPercentSubmerged]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetDriveType]]<br />
*[[handlingSetEngineType]]<br />
*[[handlingSetEngineAcceleration]]<br />
*[[handlingSetEngineInertia]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDeceleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16065Template:Handling functions2008-03-05T19:16:04Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createHandling]]<br />
*[[setDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetEngineAccelleration]]<br />
*[[handlingGetEngineInertia]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDecelleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetEngineAccelleration]]<br />
*[[handlingSetEngineInertia]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDecelleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16064Template:Handling functions2008-03-05T18:07:16Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createHandling]]<br />
*[[setDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetEngineAccelleration]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDecelleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetEngineAccelleration]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDecelleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Handling_functions&diff=16063Template:Handling functions2008-03-05T18:06:21Z<p>ChrML: New page: *createHandling *setDefaultHandling *handlingGetMass *handlingGetTurnMass *handlingGetDragCoefficiency *handlingGetCenterOfMass *handlingGetTractionMultiplier *...</p>
<hr />
<div>*[[createHandling]]<br />
*[[setDefaultHandling]]<br />
*[[handlingGetMass]]<br />
*[[handlingGetTurnMass]]<br />
*[[handlingGetDragCoefficiency]]<br />
*[[handlingGetCenterOfMass]]<br />
*[[handlingGetTractionMultiplier]]<br />
*[[handlingGetEngineAccelleration]]<br />
*[[handlingGetMaxVelocity]]<br />
*[[handlingGetBrakeDecelleration]]<br />
*[[handlingGetBrakeBias]]<br />
*[[handlingGetABS]]<br />
*[[handlingGetSteeringLock]]<br />
*[[handlingGetTractionLoss]]<br />
*[[handlingGetTractionBias]]<br />
*[[handlingGetSuspensionForceLevel]]<br />
*[[handlingGetSuspensionDamping]]<br />
*[[handlingGetSuspensionHighSpeedDamping]]<br />
*[[handlingGetSuspensionUpperLimit]]<br />
*[[handlingGetSuspensionLowerLimit]]<br />
*[[handlingGetSuspensionFrontRearBias]]<br />
*[[handlingGetSuspensionAntidiveMultiplier]]<br />
*[[handlingGetCollisionDamageMultiplier]]<br />
*[[handlingSetMass]]<br />
*[[handlingSetTurnMass]]<br />
*[[handlingSetDragCoefficiency]]<br />
*[[handlingSetCenterOfMass]]<br />
*[[handlingSetTractionMultiplier]]<br />
*[[handlingSetEngineAccelleration]]<br />
*[[handlingSetMaxVelocity]]<br />
*[[handlingSetBrakeDecelleration]]<br />
*[[handlingSetBrakeBias]]<br />
*[[handlingSetABS]]<br />
*[[handlingSetSteeringLock]]<br />
*[[handlingSetTractionLoss]]<br />
*[[handlingSetTractionBias]]<br />
*[[handlingSetSuspensionForceLevel]]<br />
*[[handlingSetSuspensionDamping]]<br />
*[[handlingSetSuspensionHighSpeedDamping]]<br />
*[[handlingSetSuspensionUpperLimit]]<br />
*[[handlingSetSuspensionLowerLimit]]<br />
*[[handlingSetSuspensionFrontRearBias]]<br />
*[[handlingSetSuspensionAntidiveMultiplier]]<br />
*[[handlingSetCollisionDamageMultiplier]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Server_Scripting_Functions&diff=16062Server Scripting Functions2008-03-05T18:02:14Z<p>ChrML: </p>
<hr />
<div><pageclass class="server"></pageclass><br />
This page lists all the '''server-side''' scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]].<br />
<br />
Please note that the scripting functions can now be extended by loading in dynamic modules that provide new functionality, such as MySQL database access. These scripting functions are non-native and require the module to be loaded in order to work.<br />
<br />
Head over to [[Module functions]] for a list of non-native serverside functions and modules that are available.<br />
<br />
'''Client-side scripting functions can be found here: [[Client Scripting Functions]].'''<br />
<br />
==Account functions==<br />
{{Account_functions}}<br />
<br />
==ACL functions==<br />
{{ACL_functions}}<br />
<br />
==Admin functions==<br />
{{Admin_functions}}<br />
<br />
==Audio functions==<br />
{{Audio_functions}}<br />
<br />
==All Seeing Eye functions==<br />
{{ASE_functions}}<br />
<br />
==Blip functions==<br />
{{Blip_functions}}<br />
<br />
==Camera functions==<br />
{{Camera functions}}<br />
<br />
==Collision shape functions==<br />
{{Collision shape functions}}<br />
<br />
==Client functions==<br />
{{Client functions}}<br />
<br />
==Clothes and body functions==<br />
{{Clothes and body functions}}<br />
<br />
==Cursor functions==<br />
{{Cursor_functions}}<br />
<br />
==Element functions==<br />
{{Element functions}}<br />
<br />
==Event functions==<br />
{{Event_functions}}<br />
<br />
==Explosion functions==<br />
{{Explosion_functions}}<br />
<br />
==File functions==<br />
{{File_functions}}<br />
<br />
==Handling functions==<br />
{{Handling_functions}}<br />
<br />
==HTTP functions==<br />
{{HTTP_functions}}<br />
<br />
==Input functions==<br />
{{Input_functions}}<br />
<br />
==Map functions==<br />
{{Map_functions}}<br />
<br />
==Marker functions==<br />
{{Marker functions}}<br />
<br />
==Object functions==<br />
{{Object functions}}<br />
<br />
==Pickup functions==<br />
{{Pickup functions}}<br />
<br />
==Player functions==<br />
{{Player functions}}<br />
<br />
==Radar area functions==<br />
{{Radar area functions}}<br />
<br />
==Resource functions==<br />
{{Resource functions}}<br />
<br />
==Serial functions==<br />
{{Serial functions}}<br />
<br />
==Server functions==<br />
{{Server functions}}<br />
<br />
==Settings registry functions==<br />
{{Settings registry functions}}<br />
<br />
==SQL functions==<br />
{{SQL_functions}}<br />
<br />
==Team functions==<br />
{{Team functions}}<br />
<br />
==Text functions==<br />
{{Text functions}}<br />
<br />
==Utility functions==<br />
{{Utility functions}}<br />
<br />
==Vehicle functions==<br />
{{Vehicle functions}}<br />
<br />
==Weapon functions==<br />
{{Weapon functions}}<br />
<br />
==World functions==<br />
{{World functions}}<br />
<br />
==XML functions==<br />
{{XML functions}}<br />
<br />
==Deprecated Functions==<br />
Access: [[:Category:Depreciated]]<br><br />
''Note: dont change this, done purposely to keep this page from being included in the listing.''</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=OnClientElementStreamOut&diff=16040OnClientElementStreamOut2008-03-03T08:43:05Z<p>ChrML: New page: {{Client event}} __NOTOC__ This event is triggered whenever a physical element is streamed out. This is triggered for all elements that are streamable, such as players, peds, vehicles, ob...</p>
<hr />
<div>{{Client event}}<br />
__NOTOC__ <br />
This event is triggered whenever a physical element is streamed out. This is triggered for all elements that are streamable, such as players, peds, vehicles, objects and markers when the local player is leaving the element. When this event is triggered, that element is no longer physical and is now virtualized by MTA.<br />
<br />
==Source==<br />
The [[event system#Event source|source]] of this event is the [[element]] that streamed out<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
===Client element events===<br />
{{Client_element_events}}<br />
===Client event functions===<br />
{{Client_event_functions}}<br />
<br />
[[Category:Needs_Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=OnClientElementStreamIn&diff=16039OnClientElementStreamIn2008-03-03T08:41:40Z<p>ChrML: </p>
<hr />
<div>{{Client event}}<br />
__NOTOC__ <br />
This event is triggered whenever a physical element is streamed in. This is triggered for all elements that are streamable, such as players, peds, vehicles, objects and markers. When this event is triggered, that element is guaranteed to be physically created as a GTA object.<br />
<br />
==Source==<br />
The [[event system#Event source|source]] of this event is the [[element]] that streamed in<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
===Client element events===<br />
{{Client_element_events}}<br />
===Client event functions===<br />
{{Client_event_functions}}<br />
<br />
[[Category:Needs_Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=OnClientElementStreamIn&diff=16038OnClientElementStreamIn2008-03-03T08:40:08Z<p>ChrML: New page: {{Client event}} __NOTOC__ This event is triggered whenever a physical element is streamed in. This is triggered for all elements that are streamable, such as players, peds, vehicles, obj...</p>
<hr />
<div>{{Client event}}<br />
__NOTOC__ <br />
This event is triggered whenever a physical element is streamed in. This is triggered for all elements that are streamable, such as players, peds, vehicles, objects and markers. When this event is triggered, that element is guaranteed to be physically created as a GTA object.<br />
<br />
==Source==<br />
The [[event system#Event source|source]] of this event is the [[element]] that streamed in<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
===Client element events===<br />
{{Client_element_events}}<br />
===Client event functions===<br />
{{Client_event_functions}}<br />
<br />
[[Category:Needs_example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Server_functions&diff=16035Template:Server functions2008-03-02T21:29:29Z<p>ChrML: </p>
<hr />
<div>*[[addCommandHandler]]<br />
<br />
*[[removeCommandHandler]]<br />
<br />
*[[executeCommandHandler]]<br />
<br />
*[[getMaxPlayers]]<br />
<br />
*[[getServerName]]<br />
<br />
*[[getServerPassword]]<br />
<br />
*[[getServerPort]]<br />
<br />
*[[setServerPassword]]<br />
<br />
*[[outputChatBox]]<br />
<br />
*[[outputConsole]]<br />
<br />
*[[outputDebugString]]<br />
<br />
*[[outputServerLog]]<br />
<br />
*[[toJSON]]<br />
<br />
*[[fromJSON]]<br />
{{New feature|3|DP3|<br />
*[[shutdown]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_player_functions&diff=15994Template:Client player functions2008-02-29T13:37:08Z<p>ChrML: </p>
<hr />
<div>* [[isPlayerDead]]<br />
* [[isPlayerMapForced]]<br />
* [[isPlayerMapVisible]]<br />
* [[isPlayerMuted]]<br />
* [[getLocalPlayer]]<br />
* [[getPlayerName]]<br />
* [[getPlayerPing]]<br />
* [[getPlayerTeam]]<br />
* [[getPlayerUserName]]<br />
* [[getPlayerNametagText]]<br />
* [[getPlayerNametagColor]]<br />
* [[showPlayerHudComponent]]<br />
{{New feature|3|DP3|<br />
*[[getPlayerMoney]]<br />
*[[setPlayerMoney]]<br />
*[[givePlayerMoney]]<br />
*[[takePlayerMoney]]<br />
}}<br />
<br />
<br />
<br />
{{Deprecated_feature|10|X. REPLACED BY PED FUNCTIONS SINCE DP3, PLEASE USE THEM INSTEAD. WILL BE LEFT IN FOR A FEW VERSIONS FOR BACKWARDS COMPATIBILITY!|<br />
* [[canPlayerBeKnockedOffBike]]<br />
* [[doesPlayerHaveJetPack]]<br />
<br />
* [[isPlayerChoking]]<br />
* [[isPlayerDucked]]<br />
* [[isPlayerDoingTask]]<br />
* [[isPlayerInVehicle]]<br />
* [[isPlayerInWater]]<br />
* [[isPlayerOnGround]]<br />
<br />
* [[getPlayerAmmoInClip]]<br />
* [[getPlayerArmor]]<br />
* [[getPlayerContactElement]]<br />
* [[getPlayerOccupiedVehicle]]<br />
* [[getPlayerRotation]]<br />
* [[getPlayerTarget]]<br />
* [[getPlayerTargetCollision]]<br />
* [[getPlayerTargetStart]]<br />
* [[getPlayerTargetEnd]]<br />
* [[getPlayerTargetRange]]<br />
* [[getPlayerSimplestTask]]<br />
* [[getPlayerSkin]]<br />
* [[getPlayerStat]]<br />
* [[getPlayerTask]]<br />
* [[getPlayerTotalAmmo]]<br />
* [[getPlayerWeaponSlot]]<br />
* [[getPlayerWeapon]]<br />
<br />
* [[setPlayerCanBeKnockedOffBike]]<br />
* [[setPlayerRotation]]<br />
* [[setPlayerSkin]]<br />
* [[setPlayerWeaponSlot]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_player_functions&diff=15993Template:Client player functions2008-02-29T13:36:42Z<p>ChrML: </p>
<hr />
<div>* [[isPlayerDead]]<br />
* [[isPlayerMapForced]]<br />
* [[isPlayerMapVisible]]<br />
* [[isPlayerMuted]]<br />
* [[getLocalPlayer]]<br />
* [[getPlayerName]]<br />
* [[getPlayerPing]]<br />
* [[getPlayerTeam]]<br />
* [[getPlayerUserName]]<br />
* [[getPlayerNametagText]]<br />
* [[getPlayerNametagColor]]<br />
* [[showPlayerHudComponent]]<br />
{{New feature|3|DP3|<br />
*[[getPlayerMoney]]<br />
*[[setPlayerMoney]]<br />
*[[givePlayerMoney]]<br />
*[[takePlayerMoney]]<br />
}}<br />
<br />
<br />
<br />
{{Deprecated_feature|10|X. REPLACED BY PED FUNCTIONS, PLEASE USE THEM INSTEAD. WILL BE LEFT IN FOR A FEW VERSIONS FOR BACKWARDS COMPATIBILITY!|<br />
* [[canPlayerBeKnockedOffBike]]<br />
* [[doesPlayerHaveJetPack]]<br />
<br />
* [[isPlayerChoking]]<br />
* [[isPlayerDucked]]<br />
* [[isPlayerDoingTask]]<br />
* [[isPlayerInVehicle]]<br />
* [[isPlayerInWater]]<br />
* [[isPlayerOnGround]]<br />
<br />
* [[getPlayerAmmoInClip]]<br />
* [[getPlayerArmor]]<br />
* [[getPlayerContactElement]]<br />
* [[getPlayerOccupiedVehicle]]<br />
* [[getPlayerRotation]]<br />
* [[getPlayerTarget]]<br />
* [[getPlayerTargetCollision]]<br />
* [[getPlayerTargetStart]]<br />
* [[getPlayerTargetEnd]]<br />
* [[getPlayerTargetRange]]<br />
* [[getPlayerSimplestTask]]<br />
* [[getPlayerSkin]]<br />
* [[getPlayerStat]]<br />
* [[getPlayerTask]]<br />
* [[getPlayerTotalAmmo]]<br />
* [[getPlayerWeaponSlot]]<br />
* [[getPlayerWeapon]]<br />
<br />
* [[setPlayerCanBeKnockedOffBike]]<br />
* [[setPlayerRotation]]<br />
* [[setPlayerSkin]]<br />
* [[setPlayerWeaponSlot]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_player_functions&diff=15992Template:Client player functions2008-02-29T13:35:18Z<p>ChrML: </p>
<hr />
<div>* [[isPlayerDead]]<br />
* [[isPlayerMapForced]]<br />
* [[isPlayerMapVisible]]<br />
* [[isPlayerMuted]]<br />
* [[getLocalPlayer]]<br />
* [[getPlayerName]]<br />
* [[getPlayerPing]]<br />
* [[getPlayerTeam]]<br />
* [[getPlayerUserName]]<br />
* [[getPlayerNametagText]]<br />
* [[getPlayerNametagColor]]<br />
* [[showPlayerHudComponent]]<br />
{{New feature|3|DP3|<br />
*[[getPlayerMoney]]<br />
*[[setPlayerMoney]]<br />
*[[givePlayerMoney]]<br />
*[[takePlayerMoney]]<br />
}}<br />
<br />
<br />
<br />
{{Deprecated_feature|10|DP3. Replaced by ped functions, will be left in for a while for backwards compatibility! Please use new functions.|<br />
* [[canPlayerBeKnockedOffBike]]<br />
* [[doesPlayerHaveJetPack]]<br />
<br />
* [[isPlayerChoking]]<br />
* [[isPlayerDucked]]<br />
* [[isPlayerDoingTask]]<br />
* [[isPlayerInVehicle]]<br />
* [[isPlayerInWater]]<br />
* [[isPlayerOnGround]]<br />
<br />
* [[getPlayerAmmoInClip]]<br />
* [[getPlayerArmor]]<br />
* [[getPlayerContactElement]]<br />
* [[getPlayerOccupiedVehicle]]<br />
* [[getPlayerRotation]]<br />
* [[getPlayerTarget]]<br />
* [[getPlayerTargetCollision]]<br />
* [[getPlayerTargetStart]]<br />
* [[getPlayerTargetEnd]]<br />
* [[getPlayerTargetRange]]<br />
* [[getPlayerSimplestTask]]<br />
* [[getPlayerSkin]]<br />
* [[getPlayerStat]]<br />
* [[getPlayerTask]]<br />
* [[getPlayerTotalAmmo]]<br />
* [[getPlayerWeaponSlot]]<br />
* [[getPlayerWeapon]]<br />
<br />
* [[setPlayerCanBeKnockedOffBike]]<br />
* [[setPlayerRotation]]<br />
* [[setPlayerSkin]]<br />
* [[setPlayerWeaponSlot]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Call&diff=15968Call2008-02-24T21:06:40Z<p>ChrML: </p>
<hr />
<div>__NOTOC__ <br />
{{Server client function}}<br />
This function is used to call a function from another resource. <br />
<br />
The function which you wish to call '''must''' first be exported within the resource's meta. For example:<br />
<syntaxhighlight lang="xml"><meta><br />
<info author="jbeta" type="script" description="Scoreboard resource" /><br />
<script src="scoreboard_client.lua" type="client"/><br />
<script src="scoreboard_exports.lua" type="server"/><br />
<br />
<script src="scoreboard_http.lua" type="server"/><br />
<br />
<export function="getScoreboardColumns" http="true" /><br />
<export function="getScoreboardRows" http="true" /><br />
<br />
<export function="addScoreboardColumn" type="server"/><br />
<export function="removeScoreboardColumn" type="server"/><br />
<br />
<export function="setPlayerScoreboardForced" type="server"/><br />
<export function="setScoreboardForced" type="client"/><br />
</meta></syntaxhighlight><br />
This enables other resources to call a function from this resource.<br />
<br />
You cannot call a server function from the client or vice versa. See [[triggerServerEvent]] and [[triggerClientEvent]] for possibilities to do that.<br />
<br />
{{New feature|3|DP3|<br />
There is an easier syntax replacing this function. For example, you can instead of:<br><br />
call ( getResourceFromName ( "resource" ), "exportedFunction", 1, "2", "three" )<br />
do much like a normal call:<br><br />
exports.resource:exportedFunction ( 1, "2", "three" )<br />
}}<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
var... call ( resource theResource, string theFunction, [ arguments... ] )<br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theResource:''' This is a resource pointer which refers to the resource you are calling a function from.<br />
*'''theFunction:''' This is a string with the name of the function which you want to call.<br />
<br />
===Optional Arguments=== <br />
{{OptionalArg}} <br />
*'''arguments:''' Any arguments you may want to pass to the function when it is called. Any number of arguments of can be specified, each being passed to the designated function.<br />
<br />
===Returns===<br />
Returns anything that the designated function has returned appropriately. If the function does not exist, is not exported, or the call was not successful it will return ''nil''.<br />
<br />
==Example==<br />
<section name="Server" class="server" show="true"> <br />
This extract shows adding of a "kills" column to the scoreboard resource. This then sets the ''gameShowKills'' variable to true, telling the rest of the script to start outputting kills.<br />
<br />
<syntaxhighlight lang="lua"><br />
function showKills ( option )<br />
if option == false then<br />
-- Remove the "kills" column<br />
gameShowKills = false<br />
call(getResourceFromName("scoreboard"), "removeScoreboardColumn", "kills")<br />
elseif option == true then<br />
-- Add the "kills" column<br />
gameShowKills = true<br />
call(getResourceFromName("scoreboard"), "addScoreboardColumn", "kills")<br />
outputDebugString ( "Showing kills now..." )<br />
end<br />
end<br />
</syntaxhighlight><br />
</section><br />
<br />
==See Also==<br />
{{Resource_functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Client_Scripting_Functions&diff=15778Client Scripting Functions2008-02-12T22:51:33Z<p>ChrML: </p>
<hr />
<div><pageclass class="client"></pageclass><br />
This page lists all the '''client-side''' scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]]<br />
__TOC__<br />
<br />
==Audio functions==<br />
{{Client_audio_functions}}<br />
<br />
==Blip functions==<br />
{{Client_blip_functions}}<br />
<br />
==Camera functions==<br />
{{Client_camera_functions}}<br />
<br />
==Collision shape functions==<br />
{{Client_collision_shape_functions}}<br />
<br />
==Cursor functions==<br />
{{Client_cursor_functions}}<br />
<br />
==Drawing functions==<br />
{{Drawing_functions}}<br />
<br />
==Element functions==<br />
{{Client_element_functions}}<br />
<br />
==Engine functions==<br />
{{Engine_functions}}<br />
<br />
==Event functions==<br />
{{Client_event_functions}}<br />
<br />
==Explosion functions==<br />
{{Client_explosion_functions}}<br />
<br />
==GUI functions==<br />
{{GUI_functions}}<br />
<br />
==Input functions==<br />
{{Client_input_functions}}<br />
<br />
==Marker functions==<br />
{{Client_marker_functions}}<br />
<br />
==Object functions==<br />
{{Client_object_functions}}<br />
<br />
==Output functions==<br />
{{Client_output_functions}}<br />
<br />
==Ped functions==<br />
{{Client_ped_functions}}<br />
<br />
==Pickup functions==<br />
{{Client_pickup_functions}}<br />
<br />
==Player functions==<br />
{{Client_player_functions}}<br />
<br />
==Projectile functions==<br />
{{Client_projectile_functions}}<br />
<br />
==Radar-area functions==<br />
{{Client_radar-area_functions}}<br />
<br />
==Resource functions==<br />
{{Client_resource_functions}}<br />
<br />
==Serial functions==<br />
{{Client_serial_functions}}<br />
<br />
==Team functions==<br />
{{Client_team_functions}}<br />
<br />
==Utility functions==<br />
{{Client_utility_functions}}<br />
<br />
==Vehicle functions==<br />
{{Client_vehicle_functions}}<br />
<br />
==Weapon functions==<br />
{{Client_weapon_functions}}<br />
<br />
==World functions==<br />
{{Client_world_functions}}<br />
<br />
==XML functions==<br />
{{Client XML functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_ped_functions&diff=15777Template:Client ped functions2008-02-12T22:51:10Z<p>ChrML: |</p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[createPed]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_camera_functions&diff=15771Template:Client camera functions2008-02-11T00:50:56Z<p>ChrML: </p>
<hr />
<div>*[[getCameraFixedModeTarget]]<br />
*[[getCameraPosition]]<br />
*[[getCameraRotation]]<br />
*[[fadeCamera]]<br />
{{Deprecated_feature|3|DP3|<br />
*[[rotateCameraRight]]<br />
*[[rotateCameraUp]]<br />
}}<br />
*[[setCameraLookAt]]<br />
*[[setCameraPosition]]<br />
*[[setCameraTarget]]<br />
*[[toggleCameraFixedMode]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_events&diff=15703Template:Client events2008-02-05T21:38:00Z<p>ChrML: </p>
<hr />
<div>*[[onClientChangeNick]]<br />
*[[onClientLogin]]<br />
*[[onClientLogout]]<br />
*[[onConsole]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Drawing_functions&diff=15686Template:Drawing functions2008-02-03T16:21:19Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[dxDrawLine]]<br />
*[[dxDrawLine3D]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_utility_functions&diff=15677Template:Client utility functions2008-02-03T01:31:55Z<p>ChrML: </p>
<hr />
<div>* [[getDistanceBetweenPoints2D]]<br />
* [[getDistanceBetweenPoints3D]]<br />
* [[gettok]]<br />
* [[split]]<br />
* [[setTimer]]<br />
* [[killTimer]]<br />
* [[getTimers]]<br />
* [[getTickCount]]<br />
{{New feature|3|DP3|<br />
*[[tocolor]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Drawing_functions&diff=15676Template:Drawing functions2008-02-03T01:30:41Z<p>ChrML: </p>
<hr />
<div>{{New feature|3|DP3|<br />
*[[dxDrawLine]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Drawing_functions&diff=15675Template:Drawing functions2008-02-03T01:29:41Z<p>ChrML: New page: ** dxDrawLine</p>
<hr />
<div>** [[dxDrawLine]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Client_Scripting_Functions&diff=15674Client Scripting Functions2008-02-03T01:29:14Z<p>ChrML: </p>
<hr />
<div><pageclass class="client"></pageclass><br />
This page lists all the '''client-side''' scripting functions that have been implemented and are available as native functions from the Deathmatch mod. To request a function or event, use [[Requested Functions and Events]]<br />
__TOC__<br />
<br />
==Audio functions==<br />
{{Client_audio_functions}}<br />
<br />
==Blip functions==<br />
{{Client_blip_functions}}<br />
<br />
==Camera functions==<br />
{{Client_camera_functions}}<br />
<br />
==Collision shape functions==<br />
{{Client_collision_shape_functions}}<br />
<br />
==Cursor functions==<br />
{{Client_cursor_functions}}<br />
<br />
==Drawing functions==<br />
{{Drawing_functions}}<br />
<br />
==Element functions==<br />
{{Client_element_functions}}<br />
<br />
==Engine functions==<br />
{{Engine_functions}}<br />
<br />
==Event functions==<br />
{{Client_event_functions}}<br />
<br />
==Explosion functions==<br />
{{Client_explosion_functions}}<br />
<br />
==GUI functions==<br />
{{GUI_functions}}<br />
<br />
==Input functions==<br />
{{Client_input_functions}}<br />
<br />
==Marker functions==<br />
{{Client_marker_functions}}<br />
<br />
==Object functions==<br />
{{Client_object_functions}}<br />
<br />
==Output functions==<br />
{{Client_output_functions}}<br />
<br />
==Pickup functions==<br />
{{Client_pickup_functions}}<br />
<br />
==Player functions==<br />
{{Client_player_functions}}<br />
<br />
==Projectile functions==<br />
{{Client_projectile_functions}}<br />
<br />
==Radar-area functions==<br />
{{Client_radar-area_functions}}<br />
<br />
==Resource functions==<br />
{{Client_resource_functions}}<br />
<br />
==Serial functions==<br />
{{Client_serial_functions}}<br />
<br />
==Team functions==<br />
{{Client_team_functions}}<br />
<br />
==Utility functions==<br />
{{Client_utility_functions}}<br />
<br />
==Vehicle functions==<br />
{{Client_vehicle_functions}}<br />
<br />
==Weapon functions==<br />
{{Client_weapon_functions}}<br />
<br />
==World functions==<br />
{{Client_world_functions}}<br />
<br />
==XML functions==<br />
{{Client XML functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=GetPlayerSimplestTask&diff=15118GetPlayerSimplestTask2008-01-20T21:47:23Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function is used to get the name of a specified players current simplest [[task]].<br><br />
'''DP2 note:''' Don't call this on players that have not spawned. This will crash the client.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
string getPlayerSimplestTask ( player thePlayer )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''thePlayer''': The [[player]] whose [[task]] you want to retrieve.<br />
<br />
===Returns===<br />
Returns a string representing the name of the player's simplest, active [[task]].<br />
<br />
==Example==<br />
This example prints the name of a players simplest task to the chat, when they use the "sTask" command.<br />
<syntaxhighlight lang="lua"><br />
function showSTask ()<br />
local thetask = getPlayerSimplestTask ( getLocalPlayer() )<br />
outputChatBox ( getPlayerName ( getLocalPlayer() ) .. "'s simplest task is: " .. thetask )<br />
end<br />
addCommandHandler ( "sTask", showSTask )<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Player functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=GetPlayerSimplestTask&diff=15117GetPlayerSimplestTask2008-01-20T21:47:14Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function is used to get the name of a specified players current simplest [[task]].<br />
'''DP2 note:''' Don't call this on players that have not spawned. This will crash the client.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
string getPlayerSimplestTask ( player thePlayer )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
*'''thePlayer''': The [[player]] whose [[task]] you want to retrieve.<br />
<br />
===Returns===<br />
Returns a string representing the name of the player's simplest, active [[task]].<br />
<br />
==Example==<br />
This example prints the name of a players simplest task to the chat, when they use the "sTask" command.<br />
<syntaxhighlight lang="lua"><br />
function showSTask ()<br />
local thetask = getPlayerSimplestTask ( getLocalPlayer() )<br />
outputChatBox ( getPlayerName ( getLocalPlayer() ) .. "'s simplest task is: " .. thetask )<br />
end<br />
addCommandHandler ( "sTask", showSTask )<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Player functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_blip_functions&diff=15063Template:Client blip functions2008-01-17T12:13:04Z<p>ChrML: </p>
<hr />
<div>*[[createBlip]]<br />
*[[createBlipAttachedTo]]<br />
*[[getBlipIcon]]<br />
*[[getBlipSize]]<br />
*[[getBlipColor]]<br />
*[[setBlipIcon]]<br />
*[[setBlipSize]]<br />
*[[setBlipColor]]<br />
{{New feature|3|DP3|<br />
*[[getBlipOrdering]]<br />
*[[setBlipOrdering]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Blip_functions&diff=15062Template:Blip functions2008-01-17T12:12:10Z<p>ChrML: </p>
<hr />
<div>*[[createBlip]]<br />
*[[createBlipAttachedTo]]<br />
*[[getBlipIcon]]<br />
*[[getBlipSize]]<br />
*[[getBlipColor]]<br />
*[[setBlipIcon]]<br />
*[[setBlipSize]]<br />
*[[setBlipColor]]<br />
{{New feature|3|DP3|<br />
*[[getBlipOrdering]]<br />
*[[setBlipOrdering]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Blip_functions&diff=15061Template:Blip functions2008-01-17T12:11:30Z<p>ChrML: </p>
<hr />
<div>*[[createBlip]]<br />
*[[createBlipAttachedTo]]<br />
*[[getBlipIcon]]<br />
*[[getBlipSize]]<br />
*[[getBlipColor]]<br />
*[[setBlipIcon]]<br />
*[[setBlipSize]]<br />
*[[setBlipColor]]{{New feature|3|DP3|<br />
*[[getBlipOrdering]]<br />
*[[setBlipOrdering]]<br />
}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsMTAWindowActive&diff=15060IsMTAWindowActive2008-01-17T12:08:02Z<p>ChrML: </p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
{{Needs Checking|This function includes debug window?}}<br />
This function returns whether the any system windows that take focus are active. This includes the chatbox input, console window, main menu and transferbox.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isChatBoxInputActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the chatbox is receiving input, ''false'' if not active.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsMTAWindowActive&diff=15059IsMTAWindowActive2008-01-17T12:07:22Z<p>ChrML: New page: __NOTOC__ {{Client function}} {{Needs checking|This function includes debug window?}} This function returns whether the any system windows that take focus are active. This includes the ch...</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
{{Needs checking|This function includes debug window?}}<br />
This function returns whether the any system windows that take focus are active. This includes the chatbox input, console window and main menu.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isChatBoxInputActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the chatbox is receiving input, ''false'' if not active.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsTransferBoxActive&diff=15058IsTransferBoxActive2008-01-17T11:28:16Z<p>ChrML: New page: __NOTOC__ {{Client function}} This function returns whether the transferbox is visible or not. ==Syntax== <syntaxhighlight lang="lua"> bool isTransferBoxActive () </syntaxhighlight> ===Returns=== Returns ''tru...</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function returns whether the transferbox is visible or not.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isTransferBoxActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the transferbox is visible, ''false'' if not.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsMainMenuActive&diff=15057IsMainMenuActive2008-01-17T11:27:01Z<p>ChrML: New page: __NOTOC__ {{Client function}} This function returns whether the user is in the mainmenu or not. ==Syntax== <syntaxhighlight lang="lua"> bool isMainMenuActive () </syntaxhighlight> ===Returns=== Returns ''true'...</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function returns whether the user is in the mainmenu or not.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isMainMenuActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the mainmenu is visible, ''false'' if not.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsDebugViewActive&diff=15056IsDebugViewActive2008-01-17T11:25:49Z<p>ChrML: New page: __NOTOC__ {{Client function}} This function returns whether the ingame debug window is visible or not. This is the debugwindow visible using the "debugscript <level>" command. ==Syntax==...</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function returns whether the ingame debug window is visible or not. This is the debugwindow visible using the "debugscript <level>" command.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isDebugViewActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the debug view is visible, ''false'' if not.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsConsoleActive&diff=15055IsConsoleActive2008-01-17T11:24:41Z<p>ChrML: New page: __NOTOC__ {{Client function}} This function returns whether the ingame console window is visible or not. ==Syntax== <syntaxhighlight lang="lua"> bool isConsoleActive () </syntaxhighlight> ===Returns=== Returns...</p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function returns whether the ingame console window is visible or not.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isConsoleActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the console is visible, ''false'' if not.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsChatBoxInputActive&diff=15054IsChatBoxInputActive2008-01-17T11:23:22Z<p>ChrML: </p>
<hr />
<div>__NOTOC__ <br />
{{Client function}}<br />
This function returns whether the ingame chatbox is being used (accepting chatbox input) or not.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isChatBoxInputActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the chatbox is receiving input, ''false'' if not active.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsChatBoxInputActive&diff=15053IsChatBoxInputActive2008-01-17T11:22:52Z<p>ChrML: New page: __NOTOC__ {{Client functions}} This function returns whether the ingame chatbox is being used (accepting chatbox input) or not. ==Syntax== <syntaxhighlight lang="lua"> bool isChatBoxInputActive () </c...</p>
<hr />
<div>__NOTOC__ <br />
{{Client functions}}<br />
This function returns whether the ingame chatbox is being used (accepting chatbox input) or not.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool isChatBoxInputActive ()<br />
</syntaxhighlight> <br />
<br />
===Returns===<br />
Returns ''true'' if the chatbox is receiving input, ''false'' if not active.<br />
<br />
==Example== <br />
This example does...<br />
<syntaxhighlight lang="lua"><br />
--This line does...<br />
blabhalbalhb --abababa<br />
--This line does this...<br />
mooo<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{GUI_functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=WasEventCancelled&diff=15052WasEventCancelled2008-01-17T11:06:09Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Server client function}}<br />
{{Deprecated}}<br />
This function checks whether or not ''the currently active event'' has been canceled. This is mainly useful for custom events created by scripts. <br />
<br />
Events can be cancelled using [[cancelEvent]], this indicates that the resource that triggered the event should do whatever it can to reverse any changes made by whatever caused the event. See [[triggerEvent]] for a more detailed explanation of this.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool wasEventCancelled ( ) <br />
</syntaxhighlight><br />
<br />
===Returns===<br />
Returns ''true'' if the event was canceled, ''false'' if it wasn't or doesn't exist.<br />
<br />
==Example== <br />
This example implements a custom event ''onFlagPickup'' that would be triggered if an ''onMarkerHit'' event was triggered on a marker whose parent was a ''flag'' element. If the event isn't canceled then an element data value is set on the player.<br />
<syntaxhighlight lang="lua"><br />
addEvent ( "onFlagPickup", "thePlayer" )<br />
<br />
function flagHitcheck ( thePlayer )<br />
parentElement = getElementParent ( source ) -- get the parent of the marker<br />
if ( getElementType ( parentElement ) == "flag" ) then -- if it was a flag element then<br />
triggerEvent ( "onFlagPickup", source, thePlayer ) -- trigger our onFlagPickup event<br />
<br />
if ( not wasEventCancelled() ) then -- if the handler for the event didn't cancel it then<br />
setElementData ( thePlayer, "hasFlag", true ) -- set that the player picked up the flag<br />
end<br />
end<br />
end<br />
addEventHandler ( "onMarkerHit", getRootElement(), flagHitCheck )<br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Event functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=Template:Client_blip_functions&diff=15051Template:Client blip functions2008-01-17T11:03:19Z<p>ChrML: </p>
<hr />
<div>*[[createBlip]]<br />
*[[createBlipAttachedTo]]<br />
*[[getBlipIcon]]<br />
*[[getBlipSize]]<br />
*[[getBlipColor]]<br />
*[[setBlipIcon]]<br />
*[[setBlipSize]]<br />
*[[setBlipColor]]<br />
*[[getBlipOrdering]]<br />
*[[setBlipOrdering]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamable&diff=15050IsElementStreamable2008-01-17T11:02:21Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
{{Needs Checking|Does this return true for vehicles the player is inside as they can't stream out?}}<br />
This function checks whether an [[element]] is streamable as set by [[setElementStreamable]] or not.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamable ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check the streamability of.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is streamable like normal, ''false'' if this element must always be streamed in.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamedIn&diff=15049IsElementStreamedIn2008-01-17T11:02:03Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function checks whether an [[element]] is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using [[setElementStreamable]].<br><br />
{{New feature|3|DP3|<br />
DP2 can return true even if this element is not fully streamed in. This can happen during the period when the vehicle/object model is loading while the element is not actually fully created yet.<br />
}}<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamedIn ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check whether is streamed in or not.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is currently streamed in, ''false'' if it is virtualized.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}<br />
[[Category:Needs Example]]</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamedIn&diff=15048IsElementStreamedIn2008-01-17T11:01:14Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function checks whether an [[element]] is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using [[setElementStreamable]].<br><br />
{{New feature|3|DP3|<br />
DP2 can return true even if this element is not fully streamed in. This can happen during the period when the vehicle/object model is loading while the element is not actually fully created yet.<br />
}}<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamedIn ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check whether is streamed in or not.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is currently streamed in, ''false'' if it is virtualized.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}<br />
{{Needs Example}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamedIn&diff=15047IsElementStreamedIn2008-01-17T11:00:47Z<p>ChrML: New page: __NOTOC__ {{Client function}} This function checks whether an element is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be...</p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
This function checks whether an [[element]] is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using [[setElementStreamable]].<br><br />
{{New feature|3|DP3|<br />
DP2 can return true even if this element is not fully streamed in. This can happen during the period when the vehicle/object model is loading while the element is not actually fully created yet.<br />
}}<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamedIn ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check whether is streamed in or not.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is currently streamed in, ''false'' if it is virtualized.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}<br />
{{Needs example}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamable&diff=15046IsElementStreamable2008-01-17T08:26:03Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
{{Needs Checking|Does this return true for vehicles the player is inside as they can't stream out?}}<br />
This function checks whether an [[element]] is streamable as set by [[setElementStreamable]] or not.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamable ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check the streamability of.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is streamable like normal, ''false'' if this element must always be streamed in.<br />
<br />
==Example==<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}<br />
{{Needs example}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamable&diff=15045IsElementStreamable2008-01-17T08:25:14Z<p>ChrML: </p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
{{Needs Checking|Does this return true for vehicles the player is inside as they can't stream out?}}<br />
This function checks whether an [[element]] is streamable as set by [[setElementStreamable]] or not.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamable ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check the streamability of.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is streamable like normal, ''false'' if this element must always be streamed in.<br />
<br />
==Example==<br />
This clientside function destroys all local radar blips.<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=IsElementStreamable&diff=15044IsElementStreamable2008-01-17T08:24:22Z<p>ChrML: New page: __NOTOC__ {{Client function}} {{Needs_checking|Does this return true for vehicles the player is inside as they can't stream out?}} This function checks whether an element is streamable...</p>
<hr />
<div>__NOTOC__<br />
{{Client function}}<br />
{{Needs_checking|Does this return true for vehicles the player is inside as they can't stream out?}}<br />
This function checks whether an [[element]] is streamable as set by [[setElementStreamable]] or not.<br />
<br />
==Syntax==<br />
<syntaxhighlight lang="lua"><br />
bool isElementStreamable ( element theElement )<br />
</syntaxhighlight><br />
<br />
===Required Arguments===<br />
* '''theElement''': The [[element]] to check the streamability of.<br />
<br />
===Returns===<br />
Returns ''true'' if the passed element is streamable like normal, ''false'' if this element must always be streamed in.<br />
<br />
==Example==<br />
This clientside function destroys all local radar blips.<br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client element functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=SetElementStreamable&diff=15043SetElementStreamable2008-01-17T08:17:33Z<p>ChrML: </p>
<hr />
<div>{{Client function}} <br />
__NOTOC__ <br />
This function can be used to disable streaming for an element. This will make sure the element is not virtualized (streamed out from GTA) when the player moves far away from it. If the limit for that element type is reached, the furthest away elements that are streamable will be streamed out until it's below the limit.<br><br><br />
'''Note:''' You shouldn't disable streaming on too many elements as there are limits for every GTA element type. Disabling streaming for some far-away elements will reduce number of elements that can be shown nearby.<br><br />
'''Note:''' Disabling streaming for extremely many vehicles (>80) can cause low FPS and unwanted effect when warping players into far away vehicles.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool setElementStreamable ( element theElement, bool streamable ) <br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theElement:''' The element you wish to set the streaming of<br />
*'''streamable:''' True if this element should stream in/out like normal, false if it should always be streamed in<br />
<br />
===Returns===<br />
Returns ''true'' if the element was streamed in successfully right now, ''false'' if it could not be streamed in for some reason, for example limit reached, or invalid element.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Client_element_functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=SetElementStreamable&diff=15042SetElementStreamable2008-01-17T08:12:15Z<p>ChrML: </p>
<hr />
<div>{{Client function}} <br />
__NOTOC__ <br />
This function can be used to disable streaming for an element. This will make sure the element is not virtualized (streamed out from GTA) when the player moves far away from it. If the limit for that element type is reached, the furthest away elements that are streamable will be streamed out until it's below the limit.<br><br><br />
'''Note:''' You shouldn't disable streaming on too many elements as there are limits for every GTA element type. Disabling streaming for some far-away elements will reduce number of elements that can be shown nearby.<br><br />
'''Note:''' Disabling streaming for extremely many vehicles (>80) can cause low FPS and unwanted effect when warping players into far away vehicles.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool setElementStreamable ( element theElement, bool streamable ) <br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theElement:''' The element you wish to set the streaming of<br />
*'''streamable:''' True if this element should stream in/out like normal, false if it should always be streamed in<br />
<br />
===Returns===<br />
Returns ''true'' if the element was streamed in successfully right now, ''false'' if it could not be streamed in for some reason, for example limit reached, or invalid element.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Element_functions}}</div>ChrMLhttps://wiki.multitheftauto.com/index.php?title=SetElementStreamable&diff=15041SetElementStreamable2008-01-17T08:11:57Z<p>ChrML: </p>
<hr />
<div>{{Client function}} <br />
__NOTOC__ <br />
This function can be used to disable streaming for an element. This will make sure the element is not virtualized (streamed out from GTA) when the player moves far away from it. If the limit for that element type is reached, the furthest away elements that are streamable will be streamed out until it's below the limit.<br><br />
'''Note:''' You shouldn't disable streaming on too many elements as there are limits for every GTA element type. Disabling streaming for some far-away elements will reduce number of elements that can be shown nearby.<br><br />
'''Note:''' Disabling streaming for extremely many vehicles (>80) can cause low FPS and unwanted effect when warping players into far away vehicles.<br />
<br />
==Syntax== <br />
<syntaxhighlight lang="lua"><br />
bool setElementStreamable ( element theElement, bool streamable ) <br />
</syntaxhighlight> <br />
<br />
===Required Arguments=== <br />
*'''theElement:''' The element you wish to set the streaming of<br />
*'''streamable:''' True if this element should stream in/out like normal, false if it should always be streamed in<br />
<br />
===Returns===<br />
Returns ''true'' if the element was streamed in successfully right now, ''false'' if it could not be streamed in for some reason, for example limit reached, or invalid element.<br />
<br />
==Example== <br />
<syntaxhighlight lang="lua"><br />
</syntaxhighlight><br />
<br />
==See Also==<br />
{{Element_functions}}</div>ChrML