SetPlayerWantedLevel

From GT-MP
Jump to: navigation, search
SetPlayerWantedLevel
Shared Function
Utilities-terminal.png Server-Side System-users.png Client-Side
Csharp.png C# Javascript.png JavaScript

Sets the wanted level of the defined player.


Syntax

API.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

API.setPlayerWantedLevel(Client player, int wantedLevel);


References