03.07.2012, 23:56
TextDrawShowForPlayer(playerid, WantedLevel);
pawn Код:
public IncreaseWantedLevel(playerid,Value)
{
new string[128];
new pcol =GetPlayerColor(playerid);
new pwlvl = GetPlayerWantedLevel(playerid);
pwlvl +=Value;
SetPlayerWantedLevel(playerid,pwlvl);
format(string,sizeof(string),"[WANTED LEVEL INCREASE] Your wanted level has been increased to Level: %d",pwlvl);
SendClientMessage(playerid,pcol,string);
new string2[4],
Wanted = 250;
valstr(string2,Wanted); // i dont know anything about that sooo..
format(string2,sizeof(string2), "%i", GetPlayerWantedLevel(playerid));
TextDrawSetString(WantedLevel,string2);
TextDrawShowForPlayer(playerid, WantedLevel);
return 1;
}