SA-MP Forums Archive
Example of making a speedmeter [2.0x] - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Example of making a speedmeter [2.0x] (/showthread.php?tid=152962)



Example of making a speedmeter [2.0x] - Jay. - 06.06.2010

Yo, Guys i wanna make a speedmeter for my server, But i'm not sure how to do it

Soo maybe could u give me a example code of a simple speedmeter

That works with Textdraws thanks


Xtreme_


Re: Example of making a speedmeter [2.0x] - DJDhan - 06.06.2010

SEARCH the forum.


Re: Example of making a speedmeter [2.0x] - Jay. - 06.06.2010

Quote:
Originally Posted by DJDhan
SEARCH the forum.
I don't want a [FS] i wanna make my own..

Just a simple speed: %speed

for example.


Re: Example of making a speedmeter [2.0x] - DJDhan - 06.06.2010

Quote:
Originally Posted by [XS
XtremE_ ]
Yo, Guys i wanna make a speedmeter for my server, But i'm not sure how to do it

Soo maybe could u give me a example code of a simple speedmeter

That works with Textdraws thanks

Xtreme_
You can download a simple speedometer and then learn from it.

Basically:

Step 1: Create The tesxtDraws.
Step 2: UnderOnPlayerUpdate use GetPlayerVelocity.
Step 3: Setthe string of the text draw using the velocity you got.