10.06.2015, 17:25
OKay, I'm using this:
I'm using this on "OnPlayerUpdate"
But
I want Set wanted level max 6 . I don't want it shows me like this .
Store Robbery - Wanted Level 8 - Red
Store Robbery - Wanted Level 12 - Red
I want if player has 6 wanted levle stars and rob a store so it still should send msg to player like this
Store Robbery - Wanted Level 6 - Red
Not
Store Robbery - Wanted Level 8 - Red
. I want set max wanted levle to 6. I don't want it goes up.
Anyone help me?
I'm using this on "OnPlayerUpdate"
PHP Code:
if (GetPlayerWantedLevel(playerid) > 6)
{
SetPlayerWantedLevel(playerid, 6);
}
PHP Code:
SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid) + 4);
format(string, sizeof(string), "Store Robbery - Wanted Level %d - Red", GetPlayerWantedLevel(playerid));
PHP Code:
SetPlayerWantedLevel(playerid,GetPlayerWantedLevel(playerid) + 5);
format(string, sizeof(string), "Store Robbery - Wanted Level %d - Red", GetPlayerWantedLevel(playerid));
Store Robbery - Wanted Level 8 - Red
Store Robbery - Wanted Level 12 - Red
I want if player has 6 wanted levle stars and rob a store so it still should send msg to player like this
Store Robbery - Wanted Level 6 - Red
Not
Store Robbery - Wanted Level 8 - Red
. I want set max wanted levle to 6. I don't want it goes up.
Anyone help me?