SA-MP Forums Archive
AddSimpleModel - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: AddSimpleModel (/showthread.php?tid=649347)



AddSimpleModel - youmasterd7 - 07.02.2018

Greetings, My question is this:
According Kalcor: - 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.

What would be the DFF of loadsc1.txd?
for AddSimpleModel(virtualworld, baseid, newid, dffname[], txdname[]);


How would you use the TextDraw to print?

welcomeText = TextDrawCreate(240.0,580.0,"mdl-2010:iconlog");
TextDrawFont(welcomeText, 4);


It did not work, Does anyone help me do this?
My version is 0.3.DL
example:




Re: [Help]AddSimpleModel - youmasterd7 - 09.02.2018

Does anyone know this?


Re: AddSimpleModel - DavidZvla - 22.02.2018

You need add the .txd to some existing object...

Код:
AddSimpleModel(-1, 19377, -2010, "whatever.dff", "loadsc1.txd");
welcomeText = TextDrawCreate(240.0,580.0,"mdl-2010:iconlog");
TextDrawFont(welcomeText, 4);



Re: AddSimpleModel - RogerCosta - 22.02.2018

For existing txd from original GTA and SAMP, create textdraw with font 4 and set string name to: name_of_file_txd:texture_name, example of loadsc1:

loadsc1:loadsc1

mdl-ID:texturename is required only for texture from custom objects.