PlayerTextDraw bug (?)
#1

Hi'.
I've a problem. When I try the Wiki's code. Nothing happens:
pawn Код:
new PlayerText:Font[MAX_PLAYERS];

public OnFilterScriptExit()
{
    foreach(new i : Player)
        PlayerTextDrawDestroy(i, Font[i]);
    return 1;
}

CMD:testb(playerid)
{
    Font[playerid] = CreatePlayerTextDraw(playerid, 40.0, 140.0, "_~N~Example text!~N~_");
    PlayerTextDrawUseBox(playerid, Font[playerid], 1);
    PlayerTextDrawBoxColor(playerid, Font[playerid], 0x00000066); // Set the box color to a semi-transparent blac
    return 1;
}
Reply


Messages In This Thread
PlayerTextDraw bug (?) - by Dayrion - 13.12.2016, 14:59
Re: PlayerTextDraw bug (?) - by Amads - 13.12.2016, 15:15
Re: PlayerTextDraw bug (?) - by Rdx - 13.12.2016, 15:34
Re: PlayerTextDraw bug (?) - by X337 - 13.12.2016, 15:56
Re: PlayerTextDraw bug (?) - by Dayrion - 13.12.2016, 21:31

Forum Jump:


Users browsing this thread: 3 Guest(s)