Max Wanted level
#3

PHP код:
SetPlayerWantedLevelEx(playerid,GetPlayerWantedLevel(playerid) + 4);
                 
format(stringsizeof(string), "(Crime Committed): Casino Robbery - Wanted Level %d - Arrestable"GetPlayerWantedLevel(playerid));
                 
SendClientMessage(playeridREDstring); 
I'm using this. It always show me "Wanted Level 8,12 and blah blah. I want set it max 6. So,


""(Crime Committed): Casino Robbery - Wanted Level %d - Arrestable"

This %d always goes up like 8,12, blah , blah. i want set it max 6. even if player has 6 stars already and robbed a player so it still should show to player like this

Example:

- I have 6 wanted level already
- I robbed a player ( if you rob a player you get 2 stars )
- So, 6 + 2 = 8/
- So, I want it should show to player "

"(Crime Committed): Robbery - Wanted Level %d - Arrestable"
"(Crime Committed): Robbery - Wanted Level 6 - Arrestable
Like this.
Reply


Messages In This Thread
Max Wanted level - by STONEGOLD - 16.06.2015, 21:14
Re: Max Wanted level - by Konstantinos - 16.06.2015, 21:20
Re: Max Wanted level - by STONEGOLD - 16.06.2015, 21:52
Re: Max Wanted level - by STONEGOLD - 16.06.2015, 21:56
Re: Max Wanted level - by trablon - 16.06.2015, 21:57
Re: Max Wanted level - by Vince - 16.06.2015, 22:05
Re: Max Wanted level - by STONEGOLD - 16.06.2015, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)