Speed!!

Started by FarisDon, Feb 04, 2016, 05:23 PM

Previous topic - Next topic

FarisDon

Well, Hi Folks, i'm having a kinda confusion with Vehicle, Speed, i'm trying to add the speed while it's going on, but i'm unable to use the function, Vehicle.AddSpeed, and Vehicle.RelativeSpeed, so I also need the syntax of it, tried to find out through the wiki, and forum, but was unable to do, so.
However I was succeed to make it enough possible to know
Vehicle.AddSpeed ( Vector(0,0,0);
so whenever i'm on the bike, or any vehicle i type
else if ( cmd =="addspeed")
{
local veh = player.Vehicle;
if (
veh.AddSpeed = ( Vector ( player.Pos.X+244,player.Pos.y+200,player.Pos.Z));
ClientMessage(""+veh.Speed+"",player,255,255,0);
}
}
so it actually works, no error, but it doesn't add the speed, i don't know why :(
P.S: - Sorry, for my bad, English.

Williams

Use a tuning system! Easy to increase ..
Hey, i m always at IRC and Forum you can comtact me at IRC channel :- #GDM @LUNet and Forum :- http://pro-fighter.tk/index.php

Gudio

vehicle.Speed *= 1.5

FarisDon

Quote from: Gudio on Feb 04, 2016, 08:35 PMvehicle.Speed *= 1.5
So the only mistake I was committing uptil now was vehicle.Speed =*10;:Lol, anyway thanks <: