SA-MP Forums Archive
Help Speed Bot - 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: Help Speed Bot (/showthread.php?tid=613240)



Help Speed Bot - AlexPalermitano97 - 25.07.2016

Hi, I have created a ncp bot but when the register goes all rather well when the bot has to make its way is slow..
Why?

How can I increase the speed of the bot inside the car ?

Thank's.


Re: Help Speed Bot - Deadpoop - 25.07.2016

PHP код:
new vehicleid GetPlayerVehicleid(npc);
GetVehicleVelocity(vehicleidxyz);
SetVehicleVelocity(vehicleidx*0.800000y*0.800000z); 
But im not sure it may push vehicle forward then back


Re: Help Speed Bot - AlexPalermitano97 - 25.07.2016

Thank you very much!!