SET_PED_RESET_FLAG
Known values: This is the server-side RPC native equivalent of the client native SET_PED_RESET_FLAG.
Signature
void SET_PED_RESET_FLAG(Ped ped, int flagId, BOOL doReset);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
flagId | int | — |
doReset | BOOL | — |
Returns void
Description
PED::SET_PED_RESET_FLAG(PLAYER::PLAYER_PED_ID(), 240, 1); Known values:
This is the server-side RPC native equivalent of the client native SET_PED_RESET_FLAG.
Usage
SetPedResetFlag(ped, flagId, doReset)
-- always works, by hash
Citizen.InvokeNative(0xcff6ff66, ped, flagId, doReset)JavaScript and C#
SetPedResetFlag(ped, flagId, doReset);
// by hash
Citizen.invokeNative('0xcff6ff66', ped, flagId, doReset);Function.Call((Hash)0xcff6ff66, ped, flagId, doReset);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.