Closed afeefmali closed 6 months ago
Are you sure you're creating the text drawing correctly?
I created td using ntd
Manually create your text drawings and test again. Manual functions
How to convert it?
Your dc id?
Hlo
@nexquery
You don't have to convert them all. Convert one and test it.
PlayerTD[playerid][45] = CreateDynamicPlayerTextDraw(playerid, 495.000000, 234.000000, "10:00");
DynamicPlayerTextDrawFont(playerid, PlayerTD[playerid][45], 2);
DynamicPlayerTextDrawLetterSize(playerid, PlayerTD[playerid][45], 0.474999, 2.549998);
DynamicPlayerTextDrawTextSize(playerid, PlayerTD[playerid][45], 400.000000, 17.000000);
DynamicPlayerTextDrawSetOutline(playerid, PlayerTD[playerid][45], 0);
DynamicPlayerTextDrawSetShadow(playerid, PlayerTD[playerid][45], 0);
DynamicPlayerTextDrawAlignment(playerid, PlayerTD[playerid][45], 1);
DynamicPlayerTextDrawColour(playerid, PlayerTD[playerid][45], -1);
DynamicPlayerTextDrawBGColour(playerid, PlayerTD[playerid][45], 255);
DynamicPlayerTextDrawBoxColor(playerid, PlayerTD[playerid][45], 50);
DynamicPlayerTextDrawUseBox(playerid, PlayerTD[playerid][45], 0);
DynPlayerTextSetProportional(playerid, PlayerTD[playerid][45], 1);
DynamicPlayerTextDrawSelectable(playerid, PlayerTD[playerid][45], 0);
if(IsValidDynamicPlayerTextDraw(playerid, PlayerTD[playerid][45]))
{
// Valid
}
else
{
// Invalid
}
Also the thread title states that you have created a Global Textdraw. Your Textdraw is set to Player.
How to solve this