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); return 1; }
new string[2];
format(string,sizeof(string), "%i", GetPlayerWantedLevel(playerid));
TextDrawSetString(WantedText,string);
WantedLevel = TextDrawCreate(594, 107, "string"); TextDrawFont(WantedLevel, 1); TextDrawLetterSize(WantedLevel, 0.519999, 1.300000); TextDrawColor(WantedLevel, 65535); TextDrawSetOutline(WantedLevel , 1); TextDrawSetProportional(WantedLevel , 1); |
new string[4],
Wanted = 250;
valstr(string,Wanted); // i dont know anything about that sooo..
format(string,sizeof(string), "%i", GetPlayerWantedLevel(playerid));
TextDrawSetString(WantedLevel,string);
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); return 1; } |
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;
}