The Lab
LAW native

_GET_TIME_SINCE_LAST_SEEN_BY_LAW

returns float1 parambuild 1207

Returns how much time has passed since law enforcement last saw player.

Signature

C
float _GET_TIME_SINCE_LAST_SEEN_BY_LAW(Player player); // 0x717DA2281DF90855 b1207

Parameters

#NameType
1playerPlayer

Facts

Facts about _GET_TIME_SINCE_LAST_SEEN_BY_LAW
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.

Lua
local result = Citizen.InvokeNative(0x717DA2281DF90855, -- _GET_TIME_SINCE_LAST_SEEN_BY_LAW
  PlayerId(), -- Player player
  Citizen.ResultAsFloat()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x717DA2281DF90855", // _GET_TIME_SINCE_LAST_SEEN_BY_LAW
  PlayerId(), // Player player
  Citizen.resultAsFloat()
);
console.log(result)
C#
float result = Function.Call<float>((Hash)0x717DA2281DF90855, // _GET_TIME_SINCE_LAST_SEEN_BY_LAW
  API.PlayerId() // Player player
);
All LAW natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.