GET_PLAYER_WANTED_LEVEL
Returns the wanted level of player.
Signature
int GET_PLAYER_WANTED_LEVEL(Player player); // 0xABC532F9098BFD9D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | GET_PLAYER_WANTED_LEVEL |
|---|---|
| Hash | 0xABC532F9098BFD9D |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xABC532F9098BFD9D, -- GET_PLAYER_WANTED_LEVEL
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xABC532F9098BFD9D", // GET_PLAYER_WANTED_LEVEL
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xABC532F9098BFD9D, // GET_PLAYER_WANTED_LEVEL
API.PlayerId() // Player player
);Related PLAYER natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.