13.12.2016, 14:59
Hi'.
I've a problem. When I try the Wiki's code. Nothing happens:
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;
}