[FilterScript] Speedometer by LemonPunch
#2

I guess you didn't read through this thread to get velocity....

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

You want this...


pawn Код:
new Float:vx, Float:vy, Float:vz, Float:vel;
vel = GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
vel = (floatsqroot(((vx*vx)+(vy*vy))+(vz*vz))* 181.5);
Reply


Messages In This Thread
Speedometer by LemonPunch - by LemonPunch - 26.10.2013, 17:45
Re: Speedometer by LemonPunch - by Pottus - 26.10.2013, 18:39
Re: Speedometer by LemonPunch - by kosa451 - 26.10.2013, 21:19
Re: Speedometer by LemonPunch - by PT - 26.10.2013, 23:43
Re: Speedometer by LemonPunch - by LemonPunch - 27.10.2013, 08:39
AW: Speedometer by LemonPunch - by BigETI - 27.10.2013, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)