SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 21/11/2017, 04:30 AM   #1
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,155
Reputation: 450
Default TextDraw preview models colour issue

Everytime I click outside the game then come back in the game changes the model colours.

https://youtu.be/0fiLtPIg8Ds
Kar is offline   Reply With Quote
Old 21/11/2017, 04:42 AM   #2
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 510
Reputation: 58
Default Re: TextDraw preview models colour issue

It's fine. Its happened to me and and in every other server I've seen it in.

I think you can set the color for it to be constant.
ISmokezU is offline   Reply With Quote
Old 21/11/2017, 06:57 AM   #3
adri1
High-roller
 
adri1's Avatar
 
Join Date: Oct 2010
Posts: 1,944
Reputation: 931
Default Re: TextDraw preview models colour issue

What color are you using in (Player)TextDrawSetPreviewVehCol
-1 color is a random color, change vehicle color when is vehicle streams for player
adri1 is offline   Reply With Quote
Old 21/11/2017, 06:23 PM   #4
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Location: Oblivion
Posts: 844
Reputation: 2533
Default Re: TextDraw preview models colour issue

Expected behaviour.

If you don't want the colours to change when the preview is refreshed, don't use -1 random colour IDs. The same thing would happen if you scrolled forward, then backward.

Last edited by Kalcor; 21/11/2017 at 11:58 PM.
Kalcor is offline   Reply With Quote
Old 23/11/2017, 10:59 PM   #5
Moez
Little Clucker
 
Join Date: Apr 2017
Posts: 8
Reputation: 6
Default Re: TextDraw preview models colour issue

Quote:
Originally Posted by Kalcor View Post
Expected behaviour.

If you don't want the colours to change when the preview is refreshed, don't use -1 random colour IDs. The same thing would happen if you scrolled forward, then backward.
Exactly what happened to me
Moez is offline   Reply With Quote
Old 24/11/2017, 12:50 AM   #6
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,155
Reputation: 450
Default Re: TextDraw preview models colour issue

Quote:
Originally Posted by Kalcor View Post
Expected behaviour.

If you don't want the colours to change when the preview is refreshed, don't use -1 random colour IDs. The same thing would happen if you scrolled forward, then backward.
Alright NP .

Just found it awkward how it changed when I left and came back in.
Kar 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
[Tutorial] How to create unique textdraw with preview models Jopaa Tutorials 0 25/11/2016 08:28 PM
iPLEOMAX's textdraw editor with preview models Alienwar3 Screenshots and Videos 15 16/06/2014 08:00 PM


All times are GMT. The time now is 05:34 AM.


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