isVehicleFuelTankExplodable | Multi Theft Auto: Wiki Skip to content

isVehicleFuelTankExplodable

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


This will tell you if a vehicle's petrol tank is explodable.

Syntax

isVehicleFuelTankExplodable ( )

Code Examples

server

This example creates a vehicle, then displays if it fuel tank is explodable or not in the chatbox.

newcar = createVehicle ( 520, 1024, 1024, 1024 )
if ( isVehicleFuelTankExplodable ( newcar ) ) then
outputChatBox ( "Vehicle's tank is explodable" )
else
outputChatBox ( "Vehicle's tank is not explodable" )
end

See Also

Vehicle Functions