16.06.2015, 21:52
PHP код:
SetPlayerWantedLevelEx(playerid,GetPlayerWantedLevel(playerid) + 4);
format(string, sizeof(string), "(Crime Committed): Casino Robbery - Wanted Level %d - Arrestable", GetPlayerWantedLevel(playerid));
SendClientMessage(playerid, RED, string);
""(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.