how can i make /kill like not for wanted player help
#6

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!");
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)