Custom TexdDraws are not working
#1

Hello.

I'm trying to create textdraws using images from a .txd file:
PHP код:
AddSimpleModel(-11246, -1002"Images.dff""Images.txd");
new 
PlayerText:Logo CreatePlayerTextDraw(playerid145.33335829.311109"mdl-1002:logo"); 
- 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?
Reply


Messages In This Thread
Custom TexdDraws are not working - by JR_Junior - 16.05.2018, 04:45
Re: Custom TexdDraws are not working - by CharlieHalltheJustinThom - 16.05.2018, 07:19
Re: Custom TexdDraws are not working - by DeepCode - 16.05.2018, 10:04
Re: Custom TexdDraws are not working - by JR_Junior - 16.05.2018, 18:25

Forum Jump:


Users browsing this thread: 3 Guest(s)