SA-MP Forums

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

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

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

https://*********/0fiLtPIg8Ds
Kar is offline   Reply With Quote
Old 21/11/2017, 03:42 AM   #2
ISmokezU
Gangsta
 
Join Date: Aug 2016
Posts: 575
Reputation: 73
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 online now   Reply With Quote
Old 21/11/2017, 05:57 AM   #3
adri1
Banned
 
Join Date: Oct 2010
Posts: 1,928
Reputation: 955
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, 05:23 PM   #4
Kalcor
SA-MP Developer
 
Join Date: Apr 2005
Posts: 888
Reputation: 2668
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 10:58 PM.
Kalcor is offline   Reply With Quote
Old 23/11/2017, 09:59 PM   #5
Moez
Little Clucker
 
Moez's Avatar
 
Join Date: Apr 2017
Location: Basement
Posts: 7
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 23/11/2017, 11:50 PM   #6
Kar
High-roller
 
Kar's Avatar
 
Join Date: May 2010
Location: Black Asylum
Posts: 3,184
Reputation: 506
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 07:28 PM


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


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