SetVehicleBulletproofTyres: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "This function set the tires for a vehicle bulletproof. Or set them to a normal, not bulletproof state. {{CSharpContainer| {{#tag:pre|void {{Vehicle.SetVehicleBulletproofTyres...")
 
No edit summary
Line 2: Line 2:


{{CSharpContainer|
{{CSharpContainer|
{{#tag:pre|void {{Vehicle.SetVehicleBulletproofTyres(Vehicle vehicle, bool bulletproof);}}
{{#tag:pre|void {{Template:CSharp_Serverside_namespace}}Vehicle.SetVehicleBulletproofTyres(Vehicle vehicle, bool bulletproof);}}
{{Parameters}}
{{Parameters}}
*'''vehicle:''' parameter input should be in '''Vehicle''' type
*'''vehicle:''' parameter input should be in '''Vehicle''' type
*'''bulletproof:''' parameter input should be in '''bool ''' type
*'''bulletproof:''' parameter input should be in '''bool''' type
{{Example}}
{{Example}}
{{#tag:syntaxhighlight|
{{#tag:syntaxhighlight|

Revision as of 21:42, 27 November 2019

This function set the tires for a vehicle bulletproof. Or set them to a normal, not bulletproof state.


C# Syntax

void NAPI.Vehicle.SetVehicleBulletproofTyres(Vehicle vehicle, bool bulletproof);

Parameters

  • vehicle: parameter input should be in Vehicle type
  • bulletproof: parameter input should be in bool type

Example

NAPI.Vehicle.SetVehicleBulletproofTyres(vehicle, bulletproof);