Real Speedometer!!

Started by soulshaker, Apr 09, 2015, 09:33 AM

Previous topic - Next topic

ysc3839

It's not necessary use "sqrt" to calculate speed. Just use "vehicle.Speed.Length()"

My code pin.RotateForPlayer(plr, -floor(veh.Speed.Length() * 180) * PI / 180 );

soulshaker

Quote from: ysc3839 on Apr 11, 2015, 05:37 AMIt's not necessary use "sqrt" to calculate speed. Just use "vehicle.Speed.Length()"

Thanks Ysc :)
Code Updated!

Gudio

-(vehicle.Speed.Length() * 3.985 )shows pretty similar speed to single player

check vehicles max speed

Sebastian


imran


Thijn

That's an error which states the function you tell the timer to call does not exist.
You probably added the function to your script wrong.

imran

no i only did copy paste

EK.IceFlake


Sebastian


SilviUDaciaLogan

I have a problem with CreateSprite. Help me, please!

Decent_946

Quote from: SilviUDaciaLogan on Jul 23, 2017, 11:37 AMI have a problem with CreateSprite. Help me, please!
CreateSprite function has been replaced by GUI Sprite system.

Use Doom Killers Speed-o-Meter instead.
Here: http://forum.vc-mp.org/?topic=4353

Mohamed Boubekri

| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

KrOoB_

LINKS ARE BROKEN PLEAS UPLOAD AGAIN

KingDark

the links of the 2 images do not work
#NULL