SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 07/02/2018, 01:50 PM   #1
youmasterd7
Little Clucker
 
Join Date: Jan 2014
Posts: 5
Reputation: 0
Default AddSimpleModel

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:

youmasterd7 is offline   Reply With Quote
Old 09/02/2018, 05:55 AM   #2
youmasterd7
Little Clucker
 
Join Date: Jan 2014
Posts: 5
Reputation: 0
Unhappy Re: [Help]AddSimpleModel

Does anyone know this?
youmasterd7 is offline   Reply With Quote
Old 22/02/2018, 01:48 AM   #3
DavidZvla
Little Clucker
 
DavidZvla's Avatar
 
Join Date: Jul 2017
Location: Cosmos
Posts: 25
Reputation: 1
Default Re: AddSimpleModel

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

Code:
AddSimpleModel(-1, 19377, -2010, "whatever.dff", "loadsc1.txd");
welcomeText = TextDrawCreate(240.0,580.0,"mdl-2010:iconlog");
TextDrawFont(welcomeText, 4);
DavidZvla is offline   Reply With Quote
Old 22/02/2018, 02:15 AM   #4
RogerCosta
Huge Clucker
 
RogerCosta's Avatar
 
Join Date: Aug 2014
Location: Santos, Brazil.
Posts: 330
Reputation: 88
Default Re: AddSimpleModel

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.
RogerCosta is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
AddSimpleModel problem Raven13 SA-MP 0.3.DL 0 10/02/2018 04:38 PM
AddSimpleModel baseid Croheart SA-MP 0.3.DL 4 25/12/2017 11:02 PM


All times are GMT. The time now is 10:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.