25.06.2012, 22:10
Use GetPlayerWantedLevel. Like this:
pawn Код:
if(GetPlayerWantedLevel(playerid) == 0) // if the player's wanted level equals to zero
{
// kill
SetPlayerHealth(playerid, -9.999999);
return 1;
}
else
{
// if it's something else
SendClientMessage(playerid, -1, "You're wanted and cannot use this command!");
}