IsVehicleDamageProof: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with '{{Server client function}} __NOTOC__ This function checks if a vehicle is damage proof (set with setVehicleDamageProof). ==Syntax== <syntaxhighlight lang="lua"> bool isVehicleDamageProof …')
 
mNo edit summary
Line 12: Line 12:


===Returns===
===Returns===
*Returns ''true'' if the vehicle is damage proof, ''false'' if it isn't or if invalid arguments were passed.
Returns ''true'' if the vehicle is damage proof, ''false'' if it isn't or if invalid arguments were passed.


==Example==
==Example==

Revision as of 17:35, 30 April 2010

This function checks if a vehicle is damage proof (set with setVehicleDamageProof).

Syntax

bool isVehicleDamageProof ( vehicle theVehicle )

Required Arguments

  • theVehicle: the vehicle whose invincibility status we want to check.

Returns

Returns true if the vehicle is damage proof, false if it isn't or if invalid arguments were passed.

Example

-- TODO

See Also