[FilterScript] [TD] Change car color
#1

Everything is very easy to do. Ability to add a little color to the cells, but it is generally fixable

While in transport press N
And TD appears to the left with a choice of color cars

You can change the color of a car projectibility variable ColorsAvailable
Need to introduce ID color cars
For example: 0, 224, 178 ...



// NEW (Squares more small -› More colors (64). And added "Close" button)
Screen: http://i.imgur.com/pYDp8DK.jpg
Link: http://pastebin.com/3Ls8Xu6L



// OLD VERSION
Screen: http://i.imgur.com/sFerz0Q.jpg
Link: http://pastebin.com/CCS1Nub5


Author: Sky[L]a[G]er (aka Mr.Flo)
Reply
#2

When I put this in my GM I get the following error:
Код:
C:\Users\Abe\Documents\SAMP Stuff\GMs\nerdfm_nosave.pwn(448) : error 017: undefined symbol "S"
Reply
#3

Try it now. I edited the code
Reply
#4

Wow, that was fast! It compiled, so thats good. I'm about to test this in game.

Edit: Ok, took a look in game. This will definitely be replacing my old system of entering color ids manually. However, I did notice one minor graphical bug with it. If you look at the screen below, you notice the black box cuts off at the bottom of it. As I said, nothing major, just a little OCD thing xD


Reply
#5

Good job bruh, REP+ from me. Keep up the good work ..
Reply
#6

I love this TD Good job!
Reply
#7

Quote:
Originally Posted by supernerd2000
Посмотреть сообщение
Wow, that was fast! It compiled, so thats good. I'm about to test this in game.

Edit: Ok, took a look in game. This will definitely be replacing my old system of entering color ids manually. However, I did notice one minor graphical bug with it. If you look at the screen below, you notice the black box cuts off at the bottom of it. As I said, nothing major, just a little OCD thing xD
This is happening clearly because he hasn't optimized the position to work with most Resolutions, as an example: http://prntscr.com/6m8n67 - So honestly "Visually" it isn't the best and script wise It could be much much better.

- @supernerd2000 :: You can actually fix this issue on your own, but for future reference on the creators part should create his/her textdraws in-mind of other Resolutions.
Reply
#8

Looks cool
Reply
#9

Quote:
Originally Posted by zT KiNgKoNg
Посмотреть сообщение
This is happening clearly because he hasn't optimized the position to work with most Resolutions, as an example: http://prntscr.com/6m8n67 - So honestly "Visually" it isn't the best and script wise It could be much much better.

- @supernerd2000 :: You can actually fix this issue on your own, but for future reference on the creators part should create his/her textdraws in-mind of other Resolutions.
Yeah I figured it had something to do with resolutions. To be honest I never really understood how Textdraws worked in the sense that they would get messed up with resolutions other than what they are tested on. Then again I never did figure out how to script them without a tool of sorts :P
Reply
#10

Quote:
Originally Posted by supernerd2000
Посмотреть сообщение
Wow, that was fast! It compiled, so thats good. I'm about to test this in game.

Edit: Ok, took a look in game. This will definitely be replacing my old system of entering color ids manually. However, I did notice one minor graphical bug with it. If you look at the screen below, you notice the black box cuts off at the bottom of it. As I said, nothing major, just a little OCD thing xD


Just corrected. You can watch the new code
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)