IsVehicleNitroRecharging: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
__NOTOC__  
__NOTOC__  
{{Client function}}
{{Client function}}
{{Needs Example}}
{{New feature/item|3.0132|1.3.1|4993|
{{New feature/item|3.0132|1.3.1|4993|
This function checks if nitro is recharging on the [[vehicle]].
This function checks if nitro is recharging on the [[vehicle]].
Line 14: Line 13:
===Returns===
===Returns===
Returns ''true'' if the nitro is currently recharging on the vehicle, ''false'' otherwise.
Returns ''true'' if the nitro is currently recharging on the vehicle, ''false'' otherwise.
==Example==
{{Example}}


==Requirements==
==Requirements==

Revision as of 17:37, 8 July 2018

This function checks if nitro is recharging on the vehicle.

[[|link=|]] Warning: Only works if the vehicle is steamed in

Syntax

bool isVehicleNitroRecharging ( vehicle theVehicle )

Required Arguments

  • theVehicle The vehicle, which you want to check for recharging.

Returns

Returns true if the nitro is currently recharging on the vehicle, false otherwise.

Example

Accessories-text-editor.png Script Example Missing Function IsVehicleNitroRecharging needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


Requirements

Minimum server version n/a
Minimum client version 1.3.1-9.04993

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.3.1-9.04993" />

See Also