SA-MP Forums

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

Thread Tools Display Modes
Old 21/02/2018, 08:54 AM   #1
Big Clucker
Join Date: Aug 2011
Location: Europe
Posts: 59
Reputation: 0
Default Custom TXD and Textdraws

Hi. I created a custom TXD overlay and then made a textdraw with it. It works as long as I have it in my root models/txd folder, but when I download it from the server (deleted from models/txd), it doesn't appear anymore.

LogBackground = TextDrawCreate(145.333358, 29.311109, "custtxd:overlay");
TextDrawTextSize(LogBackground, 350.000000, 265.000000);
TextDrawAlignment(LogBackground, 1);
TextDrawColor(LogBackground, -1);
TextDrawSetShadow(LogBackground, 0);
TextDrawBackgroundColor(LogBackground, 255);
TextDrawFont(LogBackground, 4);
TextDrawSetProportional(LogBackground, 0);
I tried switching custtxd with the model ID, cached name etc and without a luck so far. Any ideas?
Элиот is offline  
Old 21/02/2018, 09:45 AM   #2
Huge Clucker
Join Date: Jul 2009
Location: Czech Republic
Posts: 277
Reputation: 20
Default Re: Custom TXD and Textdraws

You need assign .txd file to .dff file (existing!) Example:

LogBackground = TextDrawCreate(145.333358, 29.311109, "mdl-2000:overlay");
ATomas is offline  
Old 21/02/2018, 09:58 AM   #3
Big Clucker
Join Date: Aug 2011
Location: Europe
Posts: 59
Reputation: 0
Default Re: Custom TXD and Textdraws

@ATomas Works like a charm! Thanks, mate. +rep
Элиот is offline  

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
[GameMode] (0.3x)--->Battlefield WarZone<---(TDM)(Extreme DM)(Made From Scratch)(Custom Script)(5 Teams)(Classes)(Custom Maps) nor15 Gamemode Scripts 11 19/07/2014 03:10 PM
Global TextDraws on top of Player TextDraws [resolved] Joe Staff Scripting Help 0 17/05/2013 06:35 AM

All times are GMT. The time now is 02:24 AM.

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