SetVehicleDoorsUndamageable: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Black Dragon (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
This function is used to make a cars doors undamageable. | |||
This | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setVehicleDoorsUndamageable ( vehicle thevehicle, bool state ) | bool setVehicleDoorsUndamageable ( vehicle thevehicle, bool state ) | ||
Line 10: | Line 8: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''thevehicle:''' The vehicle of which you wish to set the car door damageability. | |||
*''' | *'''state:''' ''true'' or ''false''. | ||
*''' | |||
===Returns=== | ===Returns=== | ||
Returns ''true'' if successful, ''false'' otherwise. | |||
Returns ''true'' if | |||
==Example== | ==Example== |
Revision as of 17:03, 20 June 2007
This function is used to make a cars doors undamageable.
Syntax
bool setVehicleDoorsUndamageable ( vehicle thevehicle, bool state )
Required Arguments
- thevehicle: The vehicle of which you wish to set the car door damageability.
- state: true or false.
Returns
Returns true if successful, false otherwise.
Example
This example does...
--This line does... blabhalbalhb --abababa --This line does this... mooo
See Also
Template:FunctionArea functions -- leave this unless you complete the function