RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. SET_PLAYER_WANTED_LEVEL

SET_PLAYER_WANTED_LEVEL

SET_PLAYER_WANTED_LEVEL **This is the server-side RPC native equivalent of the client native [SET_PLAYER_WANTED_LEVEL](?\_0x39FF19C64EF7DA5B).**

CFX

Signature

lua
SetPlayerWantedLevel(PlayerId(), 0, true)
-- returns void

Parameters

NameTypeDescription
Playerthe target player
intthe wanted level 1-5
BOOLfalse = 0-10sec police spawn response time, true = 10-20sec police spawn response time

Usage

lua
SetPlayerWantedLevel(PlayerId(), 0, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details