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 voidParameters
| Name | Type | Description |
|---|---|---|
| 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
