16.05.2018, 04:45
Hello.
I'm trying to create textdraws using images from a .txd file:
- The .dff and .txd files belong to any object.
- I open the .txd file with TXDWorkshop and add the "logo.png" image (512x256) and save the file, along with the original textures that are already inside the file.
- I save and add on the server, but after downloading the samp says that it was not possible to check the .txd file and delete it.
- If I use the original .txd file without adding the logo.png image, at the time of creating the textdraw using an original file texture everything works fine, but if I delete the textures and add only the logo.png image in time to create the texdraw it does not appear.
My first question is: Do I need to create a specific object, with original .dff and .txd file for each image I want to add?
@EDIT
Second: Transparent png is not allowed, like an animated gif or a simple logo with transparent parts?
I'm trying to create textdraws using images from a .txd file:
PHP код:
AddSimpleModel(-1, 1246, -1002, "Images.dff", "Images.txd");
new PlayerText:Logo = CreatePlayerTextDraw(playerid, 145.333358, 29.311109, "mdl-1002:logo");
- I open the .txd file with TXDWorkshop and add the "logo.png" image (512x256) and save the file, along with the original textures that are already inside the file.
- I save and add on the server, but after downloading the samp says that it was not possible to check the .txd file and delete it.
- If I use the original .txd file without adding the logo.png image, at the time of creating the textdraw using an original file texture everything works fine, but if I delete the textures and add only the logo.png image in time to create the texdraw it does not appear.
My first question is: Do I need to create a specific object, with original .dff and .txd file for each image I want to add?
@EDIT
Second: Transparent png is not allowed, like an animated gif or a simple logo with transparent parts?