GetVehicleBulletproofTyres: Difference between revisions
(Created page with "Returns wheter the vehicle's tyres are bullet proof or not. {{CSharpContainer| {{#tag:pre|bool {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleBulletproofTyres(Vehi...") |
m (Spelling mistake) |
||
| Line 11: | Line 11: | ||
if(tiresBulletProof) | if(tiresBulletProof) | ||
{ | { | ||
// | //Tyres are bullet proof | ||
} | } | ||
|lang=csharp}} | |lang=csharp}} | ||
}} | }} | ||
[[Category:Serverside API]] | [[Category:Serverside API]] | ||
Revision as of 17:38, 12 December 2019
Returns wheter the vehicle's tyres are bullet proof or not.
C# Syntax
bool NAPI.Vehicle.GetVehicleBulletproofTyres(Vehicle vehicle);
Parameters
- vehicle: parameter input should be in Vehicle type
NOTE: This function returns the status in bool type.
Example
bool tiresBulletProof = NAPI.Vehicle.GetVehicleBulletproofTyres(vehicle);
if(tiresBulletProof)
{
//Tyres are bullet proof
}