[help] wanted level textdraw
#7

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;
}
Reply


Messages In This Thread
[help] wanted level textdraw - by jeffery30162 - 03.07.2012, 22:56
Re: [help] wanted level textdraw - by SnG.Scot_MisCuDI - 03.07.2012, 23:14
Re: [help] wanted level textdraw - by [ABK]Antonio - 03.07.2012, 23:23
Re: [help] wanted level textdraw - by jeffery30162 - 03.07.2012, 23:39
Re: [help] wanted level textdraw - by SnG.Scot_MisCuDI - 03.07.2012, 23:47
Re: [help] wanted level textdraw - by jeffery30162 - 03.07.2012, 23:53
Re: [help] wanted level textdraw - by SnG.Scot_MisCuDI - 03.07.2012, 23:56
Re: [help] wanted level textdraw - by jeffery30162 - 03.07.2012, 23:59
Re: [help] wanted level textdraw - by SnG.Scot_MisCuDI - 04.07.2012, 00:01
Re: [help] wanted level textdraw - by jeffery30162 - 04.07.2012, 00:07

Forum Jump:


Users browsing this thread: 1 Guest(s)