[Ajuda] Player textdraw nгo estб a mostrar...
#1

pawn Код:
//ongamemodeinit
for(new id = 0; id <= MAX_PLAYERS; id++){
        StatsBarTD[id][0] = CreatePlayerTextDraw(id,647.000000, 433.000000, "_");
        PlayerTextDrawBackgroundColor(id,StatsBarTD[id][0], -16711681);
        PlayerTextDrawFont(id,StatsBarTD[id][0], 1);
        PlayerTextDrawLetterSize(id,StatsBarTD[id][0], 0.500000, 1.400000);
        PlayerTextDrawColor(id,StatsBarTD[id][0], -1);
        PlayerTextDrawSetOutline(id,StatsBarTD[id][0], 1);
        PlayerTextDrawSetProportional(id,StatsBarTD[id][0], 1);
        PlayerTextDrawUseBox(id,StatsBarTD[id][0], 1);
        PlayerTextDrawBoxColor(id,StatsBarTD[id][0], 153);
        PlayerTextDrawTextSize(id,StatsBarTD[id][0], -5.000000, -1.000000);
        PlayerTextDrawSetSelectable(id,StatsBarTD[id][0], 0);
        //printf("criar StatsBarTD[%i][0] ", id);

        StatsBarTD[id][1] = CreatePlayerTextDraw(id,0.000000, 433.000000,  "~r~TR - Rampage ~y~]~g~] ~r~Kills: ~y~1000 ~b~] ~r~Deaths: ~y~1000 ~b~] ~r~K/D: ~y~100.0 ~b~] ~r~Exp: ~y~10/50 ~b~] ~r~Nivel: ~y~1000 ~b~ // ~r~[~y~El Quebrados ~b~(~y~0~b~)~r~] ~b~]~r~Tempo: ~r~14:35");
        PlayerTextDrawBackgroundColor(id,StatsBarTD[id][1], -247);
        PlayerTextDrawFont(id,StatsBarTD[id][1], 2);
        PlayerTextDrawLetterSize(id,StatsBarTD[id][1], 0.220000, 1.300000);
        PlayerTextDrawColor(id,StatsBarTD[id][1], -1);
        PlayerTextDrawSetOutline(id,StatsBarTD[id][1], 1);
        PlayerTextDrawSetProportional(id,StatsBarTD[id][1], 1);
        PlayerTextDrawSetSelectable(id,StatsBarTD[id][1], 0);
        //printf("criar StatsBarTD[%i][1] ", id);
    }

CMD:mostrar(playerid)
{

    PlayerTextDrawShow(playerid, StatsBarTD[playerid][0]);
    PlayerTextDrawShow(playerid, StatsBarTD[playerid][1]);
    return 1;
}
Alguйm me dб ai uma ajuda ?
Reply


Messages In This Thread
Player textdraw nгo estб a mostrar... - by VeNuZ_ - 07.10.2014, 10:14
Respuesta: Player textdraw nгo estб a mostrar... - by Parka - 07.10.2014, 10:44
Re: Player textdraw nгo estб a mostrar... - by VeNuZ_ - 07.10.2014, 11:11
Re: Player textdraw nгo estб a mostrar... - by PT - 07.10.2014, 13:13
Re: Player textdraw nгo estб a mostrar... - by VeNuZ_ - 07.10.2014, 13:57

Forum Jump:


Users browsing this thread: 2 Guest(s)