SA-MP Forums Archive
Speed vehicle NPC - 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: Speed vehicle NPC (/showthread.php?tid=643199)



Speed vehicle NPC - Chipardeur - 15.10.2017

Hi

How to speed NPC vehicle?
The driving is low

Thanks !


Re: Speed vehicle NPC - Kyle - 15.10.2017

Drive faster when recording the NPC bot.


Re: Speed vehicle NPC - Chipardeur - 15.10.2017

I don't use recording, i use plugin NPC and for move NPC i use "NPC_GoTo"


Re: Speed vehicle NPC - Kyle - 15.10.2017

Code:
FCNPC_GoTo(npcid, Float:x, Float:y, Float:z, type = MOVE_TYPE_AUTO, Float:speed = MOVE_SPEED_AUTO, bool:UseMapAndreas = false, Float:radius = 0.0, bool:setangle = true, Float:dist_offset = 0.0, stopdelay = 250);
Change the speed to a higher value, currently MOVE_SPEED_AUTO is set to -1.