CLEAR_PED_PROP
CLEAR_PED_PROP This is the server-side RPC native equivalent of the client native CLEAR_PED_PROP.
Signature
void CLEAR_PED_PROP(Ped ped, int propId);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | The ped handle. |
propId | int | The prop id you want to clear from the ped. Refer to SET_PED_PROP_INDEX. |
Returns void
Description
This is the server-side RPC native equivalent of the client native CLEAR_PED_PROP.
Usage
ClearPedProp(ped, propId)
-- always works, by hash
Citizen.InvokeNative(0x2d23d743, ped, propId)JavaScript and C#
ClearPedProp(ped, propId);
// by hash
Citizen.invokeNative('0x2d23d743', ped, propId);Function.Call((Hash)0x2d23d743, ped, propId);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.