Speedo
#1

Hi

I want to re-create the speedometer from gta-mp.cz
Which character (or sprite) do you recommend for the indicator (red on the picture) that will point to the current speed, and for the buttons (maybe ,, - " ) that are white next to the numbers.

Reply
#2

bump
Reply
#3

bump again
Reply
#4

This is not an easy task.

Look for sprites and here are some threads that may help you:

https://sampforum.blast.hk/showthread.php?tid=637783

https://sampforum.blast.hk/showthread.php?tid=631446
Reply
#5

I’ve done the main textdraw. I only need the indicators. When I got home I’ll upload a picture
Reply
#6

Just look at the links i've posted.

https://sampforum.blast.hk/showthread.php?pid=4069136#pid4069136

There you can see, how you can do the needle.
Reply
#7

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Just look at the links i've posted.

https://sampforum.blast.hk/showthread.php?pid=4069136#pid4069136

There you can see, how you can do the needle.
This is using the " . " character... You can see there are a lot of distance between a character. On my picture the icons are more closer than this.
Reply
#8

You don't say...

Maybe because there are more '.' and they are just closer and smaller?

But thats exactly what you wanted to have...
Reply
#9

So this indicator created by a cycle and each ' . ' is a textdraw? This is wont be much for the server to re-create theese textdraws every 1 sec for each player who driving a vehicle?
Reply
#10

Quote:
Originally Posted by m4karow
Посмотреть сообщение
So this indicator created by a cycle and each ' . ' is a textdraw? This is wont be much for the server to re-create theese textdraws every 1 sec for each player who driving a vehicle?
No it's taken from pool game and they have used background box color.
Reply
#11

Why not just choose a good object and use that? Requires one textdraw for the indicator.



https://sampwiki.blast.hk/wiki/TextDrawSetPreviewModel
Reply
#12

Quote:
Originally Posted by Pottus
Посмотреть сообщение
Why not just choose a good object and use that? Requires one textdraw for the indicator.



https://sampwiki.blast.hk/wiki/TextDrawSetPreviewModel
Nice idea
I will check how it look like ingame. Thanks anyway
Reply
#13

Only if SA-MP had a native with textdraw rotation feature...
Reply
#14

https://sampforum.blast.hk/showthread.php?pid=3904513#pid3904513

just add black background and more dots and white texts and it should look the same
when you know how to program, then those systems are nothing special, just some system take more time then others thats the only difference
Reply
#15

Quote:
Originally Posted by g1venchy
Посмотреть сообщение
https://sampforum.blast.hk/showthread.php?pid=3904513#pid3904513

just add black background and more dots and white texts and it should look the same
when you know how to program, then those systems are nothing special, just some system take more time then others thats the only difference
If I use letters the server have to calculate the coords for the textdraws about 10 times every 1 second. Thats too much if there are about 100 players in a vehicle, right?
What do you recommend?
Reply
#16

bump
Reply
#17

textdraw or icon?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)