RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_VEHICLE_BODY_HEALTH

SET_VEHICLE_BODY_HEALTH

``` p2 often set to 1000.0 in the decompiled scripts. ``` **This is the server-side RPC native equivalent of the client native [SET_VEHICLE_BODY_HEALTH](?\_0xB77D05AC8C78AADB).**

CFX

Signature

lua
SetVehicleBodyHealth(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)
-- returns void

Parameters

NameTypeDescription
Vehicle—
float—

Usage

lua
SetVehicleBodyHealth(GetVehiclePedIsIn(PlayerPedId(), false), 0.0)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details