12.12.2017, 12:37
Quote:
You should be able to use downloaded txds as textdraw sprites using the tag mdl-ID:texturename. Where '-ID' is a model added with AddSimpleModel.
I don't uderstand, please explain it to me.... |
Code:
AddSimpleModel(-1,19379,-2010,"crane.dff","freightcrane1.txd");
Code:
new Text:txtSprite1; txtSprite1 = TextDrawCreate(200.0, 220.0, "mdl-2010:yellowcabchev_256");//yellowcabchev_256 is in freightcrane1.txd TextDrawFont(txtSprite1, 4); // Font ID 4 is the sprite draw font TextDrawColor(txtSprite1,0xFFFFFFFF); TextDrawTextSize(txtSprite1,200.0,200.0); // Text size is the Width:Height TextDrawSetSelectable(txtSprite1, 1); TextDrawShowForPlayer(playerid,txtSprite1);