PLAYER

CLEAR_PLAYER_WANTED_LEVEL

0xB302540597885499 Jenkins: 0x54EA5BCC

Signature

// PLAYER
void CLEAR_PLAYER_WANTED_LEVEL(Player player)

Parameters

Type Name
Player player

Return type void

Build 323

Documentation

This executes at the same as speed as PLAYER::SET_PLAYER_WANTED_LEVEL(player, 0, false); PLAYER::GET_PLAYER_WANTED_LEVEL(player); executes in less than half the time. Which means that it's worth first checking if the wanted level needs to be cleared before clearing. However, this is mostly about good code practice and can important in other situations. The difference in time in this example is negligible.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.