_GET_TIME_SINCE_LAST_SEEN_BY_LAW
Returns how much time has passed since law enforcement last saw player.
Signature
float _GET_TIME_SINCE_LAST_SEEN_BY_LAW(Player player); // 0x717DA2281DF90855 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _GET_TIME_SINCE_LAST_SEEN_BY_LAW |
|---|---|
| Hash | 0x717DA2281DF90855 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x717DA2281DF90855, -- _GET_TIME_SINCE_LAST_SEEN_BY_LAW
PlayerId(), -- Player player
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x717DA2281DF90855", // _GET_TIME_SINCE_LAST_SEEN_BY_LAW
PlayerId(), // Player player
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x717DA2281DF90855, // _GET_TIME_SINCE_LAST_SEEN_BY_LAW
API.PlayerId() // Player player
);Related LAW natives
- _GET_CRIME_BOUNTY_AMOUNT_BY_TYPE
- _HAS_PLAYER_BEEN_FOUND_BY_LAW_ACTIVE_SEARCH
- _GET_BOUNTY_HUNTER_GLOBAL_COOLDOWN
- _GET_CRIME_DISPATCH_TYPE_FOR_PLAYER
- _GET_HUD_PLAYER_CRIME_TYPE
- _ARE_ANY_LAW_PEDS_INVESTIGATING
- _ARE_LAW_PEDS_ENABLED_FOR_TRAIN
- _CREATE_LAW_DISPATCH_RESPONSE_FOR_COORDS
- _ENABLE_DISPATCH_LAW
- _ENABLE_DISPATCH_LAW_2
- _FORCE_LAW_ON_LOCAL_PLAYER_IMMEDIATELY
- _LAW_WITNESS_RESPONSE_TASK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.