_HAS_PED_BEEN_SHOVED_RECENTLY
Returns true if ped was shoved within the last ms milliseconds.
Signature
BOOL _HAS_PED_BEEN_SHOVED_RECENTLY(Ped ped, int ms); // 0x29FCE825613FEFCA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | ms | int |
Facts
| Name | _HAS_PED_BEEN_SHOVED_RECENTLY |
|---|---|
| Hash | 0x29FCE825613FEFCA |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x29FCE825613FEFCA, -- _HAS_PED_BEEN_SHOVED_RECENTLY
PlayerPedId(), -- Ped ped
0 -- int ms
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x29FCE825613FEFCA", // _HAS_PED_BEEN_SHOVED_RECENTLY
PlayerPedId(), // Ped ped
0, // int ms
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x29FCE825613FEFCA, // _HAS_PED_BEEN_SHOVED_RECENTLY
API.PlayerPedId(), // Ped ped
0 // int ms
);Related PED natives
- _HAS_PED_SHOT_RECENTLY
- _HAS_PED_EMOTIONAL_PRESET_LOADED
- _HAS_PED_KNOCKED_ON_DOOR
- _HAS_PED_TAKEN_GORE_DAMAGE
- _HAS_META_PED_ASSET_LOADED
- _HAS_META_PED_OUTFIT_LOADED
- _HAS_META_PED_REQUEST_LOADED
- _APPLY_PED_META_PED_OUTFIT
- _CAN_PED_HEAR_TARGET_PED
- _CREATE_META_PED_OUTFIT_PED
- _DOES_META_PED_OUTFIT_EXIST_FOR_PED_MODEL
- _DOES_META_PED_SUBOUTFIT_EXIST_FOR_PED_MODEL
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.