SetPlayerWantedLevel

From SA-MP Wiki

Jump to: navigation, search

SetPlayerWantedLevel


Sets the wanted level of a player.


Parameters:
(playerid, level)
playeridThe ID of the player you want to set the wanted level of.
levelThe wanted level to set for the player.


This function does not return a specific value.


if (strcmp(cmdtext, "/turnuptheheat", true) == 0)
{
    SetPlayerWantedLevel(playerid, 6);
    return 1;
}

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools