[FilterScript] [FS] Speedo 0.3
#1

One new speedometer Link update.
Only 0.3 Compatible.
Download: v1.0
Removed link false cod in the script.
Download:v1.1

Download:v1.2

Screenshot:
Reply
#2

Nice
Reply
#3

no work
Reply
#4

Not a good position on the screen.
Reply
#5

Quote:
Originally Posted by panther74
no work


Quote:
Originally Posted by [WsR
RyDeR ]
Not a good position on the screen.
Speed textdraw 3D samp 0.3x :P
Reply
#6

It won't work
You recreate olddata variable every time the function is called hence the speed actually can not be saved and then calculated.
Reply
#7

Quote:
Originally Posted by Frankylez
It won't work
You recreate olddata variable every time the function is called hence the speed actually can not be saved and then calculated.
Thanks. Update link.
Reply
#8

Sweet
Reply
#9

Thanks this really helped, but how the heck did you get the calculations ?
Reply
#10

Quote:
Originally Posted by Pandabeer1337
Thanks this really helped, but how the heck did you get the calculations ?
0.2x
= floatsqroot(floatpower(X - oldposX, 2) + floatpower(Y - oldposY, 2) + floatpower(Z - oldposZ)

Saved to oldposition playerid!! new FloatldposX[MAX_PLAYERS],...............

0.3a distance (GetVehicleVelocity(GetPlayerVehicleID(playerid),X ,Y,Z); ) ~ 0.2x distance (X - oldposX[playerid], Y - oldposY[playerid], Z - oldposZ[playerid])

0.3a client (getvehiclevelocity X) ~ 0.2.x client (X - oldposX[playerid]);
0.3a client (getvehiclevelocity Y) ~ 0.2.x client (Y - oldposY[playerid]);
0.3a client (getvehiclevelocity Z) ~ 0.2.x client (Z - oldposZ[playerid]);

https://sampwiki.blast.hk/wiki/GetVehicleVelocity
http://forum.sa-mp.com/index.php?top...#post_distance

Sorry. I do not speak well in English.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)