SA-MP Forums Archive
How to make something like that? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to make something like that? (/showthread.php?tid=407344)



How to make something like that? - Louris - 13.01.2013



It show your current speed.


Re: How to make something like that? - [HK]Ryder[AN] - 13.01.2013

Are you talking about the speedometer in the bottom or the 128 which is appearing below a traffic light?


Re: How to make something like that? - Mr.Faqahat - 13.01.2013

http://forum.sa-mp.com/showthread.ph...ht=speedometer

http://forum.sa-mp.com/showthread.ph...ht=speedometer

http://forum.sa-mp.com/showthread.ph...ht=speedometer

http://forum.sa-mp.com/showthread.ph...ht=speedometer

http://forum.sa-mp.com/showthread.ph...ht=speedometer

Here


Re: How to make something like that? - Louris - 13.01.2013

You dont understand. I don't need speedometer, i need
Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
Are you talking about the speedometer in the bottom or the 128 which is appearing below a traffic light?



Re: How to make something like that? - Mr.Faqahat - 13.01.2013

Thats is a TextDraw ....


Re: How to make something like that? - Louris - 13.01.2013

It's not a textdraw, it's SetObjectMaterialText...


Re: How to make something like that? - Mr.Faqahat - 13.01.2013

Didnt observed it ....


Re: How to make something like that? - [HK]Ryder[AN] - 13.01.2013

1. keep checking if any player is near that place
2. if yes, check if in a vehicle
3. if yes, get player speed..find code in any speedometer released
4. use the function SetObjectMaterialText (added in 0.3e)
5. Have fun