Flying Car
#9

Quote:
Originally Posted by Urefeu
Посмотреть сообщение
Yes, but if I do

Код:
new Float:x, Float:y, Float:z;
GetVehiclePos(mycarid, x, y, z);
SetVehicleVelocity(mycarid, x, y, z + 50);
I've a big bug...
If you want to increase a current speed of the vehicle, then use GetVehicleVelocity before using SetVehicleVelocity.
Like:
pawn Код:
new Float:x, Float:y, Float:z;
GetVehicleVelocity(mycarid, x, y, z);
SetVehicleVelocity(mycarid, x, y, z + 50);    // Will increase velocity in Z direction by 50
Reply


Messages In This Thread
Flying Car - by Urefeu - 10.08.2011, 19:27
Re: Flying Car - by Norck - 10.08.2011, 20:12
Re: Flying Car - by [HiC]TheKiller - 10.08.2011, 20:12
Re : Flying Car - by Urefeu - 10.08.2011, 20:22
AW: Flying Car - by Forbidden - 10.08.2011, 20:24
Re: Flying Car - by Jay. - 10.08.2011, 20:25
Re : Flying Car - by Urefeu - 11.08.2011, 08:53
Re: Flying Car - by antonio112 - 11.08.2011, 09:56
Re: Re : Flying Car - by Norck - 11.08.2011, 10:13
Re : Flying Car - by Urefeu - 11.08.2011, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)