fixes wanted messages format
This commit is contained in:
parent
9ada0d5400
commit
b5160ede22
@ -77,10 +77,11 @@ stock GivePlayerWantedLevel( playerid, level )
|
||||
new
|
||||
current_wanted = GetPlayerWantedLevel( playerid );
|
||||
|
||||
SendClientMessageFormatted( playerid, -1, ""COL_GOLD"[CRIME]{FFFFFF} Your wanted level has been %s by %d! Wanted level: %d", current_wanted + level > current_wanted ? ( "increased" ) : ( "decreased" ), level < 0 ? level * -1 : level, current_wanted );
|
||||
SendClientMessageFormatted( playerid, -1, ""COL_GOLD"[CRIME]{FFFFFF} Your wanted level has been %s by %d! Wanted level: %d", current_wanted + level > current_wanted ? ( "increased" ) : ( "decreased" ), level, current_wanted + level );
|
||||
return SetPlayerWantedLevel( playerid, current_wanted + level );
|
||||
}
|
||||
|
||||
|
||||
stock ClearPlayerWantedLevel( playerid )
|
||||
{
|
||||
PlayerTextDrawHide( playerid, p_WantedLevelTD[ playerid ] );
|
||||
|
Loading…
Reference in New Issue
Block a user