ResetVehicleExplosionTime: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: {{Server function}} __NOTOC__ Resets the vehicle explosion time ==Syntax== <syntaxhighlight lang="lua"> bool resetVehicleExplosionTime ( vehicle theVehicle ) </syntaxhighlight> ===Required Arguments=== *'''theV...)
 
mNo edit summary
Line 1: Line 1:
{{Server function}}
{{Server function}}
__NOTOC__
__NOTOC__
Resets the vehicle explosion time
Resets the vehicle explosion time. This is the point in time at which the vehicle last exploded: at this time plus the vehicle's respawn delay, the vehicle is respawned. You can use this function to prevent the vehicle from respawning.


==Syntax==  
==Syntax==  

Revision as of 13:35, 17 April 2009

Resets the vehicle explosion time. This is the point in time at which the vehicle last exploded: at this time plus the vehicle's respawn delay, the vehicle is respawned. You can use this function to prevent the vehicle from respawning.

Syntax

bool resetVehicleExplosionTime ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle you wish to reset the explosion time from.

Returns

Returns true if the vehicle explosion time has been reset, false if it failed to reset the explosion time.

Example

--TODO

See Also