SA-MP Forums Archive
How to do this ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to do this ? (/showthread.php?tid=315736)



How to do this ? - Shabi RoxX - 04.02.2012

How to set vehicle POS++ in direction of its facing angle ?

Means Like acceleration..... moving forward. OR speed hack...


Re: How to do this ? - milanosie - 04.02.2012

GetVehicleZAngle(vehicleid, &Float:zangle);


Re: How to do this ? - MP2 - 04.02.2012

Quote:
Originally Posted by milanosie
Посмотреть сообщение
GetVehicleZAngle(vehicleid, &Float:zangle);
What?!


You'd need to use some maths.


Re: How to do this ? - Shabi RoxX - 04.02.2012

How to do this

Like: Speed hacks in stunting server


Re: How to do this ? - Konstantinos - 04.02.2012

You can prevent speed hacks with Vehicle Velocity.