SetPlayerWantedLevel

From GTA Network Wiki
Jump to: navigation, search

SetPlayerWantedLevel
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Sets the wanted level of the defined player.

Syntax

void NAPI.Player.SetPlayerWantedLevel(Client player, int wantedLevel);

Required Arguments

  • player: parameter input should be in Client type.
  • wantedLevel: parameter input should be in int type.

Usage example(s)

Example Description

NAPI.Player.SetPlayerWantedLevel(player, wantedLevel);

Changelog

Version Description
1.0 Release.

References