GetPlayerWantedLevel

From GTA Network Wiki
Jump to: navigation, search

GetPlayerWantedLevel
Server-Side Function

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

Returns the player wanted level.


icon-warning.png WARNING: This function is synchronous and could take a long time to return. Do not use this if your resource is not multithreaded.

If you know what you're doing and want to use this function anyway, consider reading Meta.xml for more information about multithreaded resources.


Syntax

int NAPI.Player.GetPlayerWantedLevel(Client player);

Required Arguments

  • player: parameter input should be in Client type.

NOTE: This function returns data in int type.

Usage example(s)

Example Description

NAPI.Player.GetPlayerWantedLevel(player);

Changelog

Version Description
1.0 Release.

References