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



NPC Speed - alexanderjb918 - 17.04.2016

Код:
trainID = AddStaticVehicleEx(538, -1946.0692, 183.2777, 26.7534, 355.7218, 24, 77, 0);
	VehicleInfo[trainID][vFuel] = 100;
	VehicleInfo[trainID][vWindows] = 0;
	SetVehicleParamsEx(trainID, 1, 1, 0, 0, 0, 0, 0);
	ConnectNPC("TrainBot", "train_ls");
How do I edit the speed to make it slower?


Re: NPC Speed - yugecin - 17.04.2016

I don't think you can control the playback speed, but you could create your own recording and drive at the speed you want. Here's a tutorial for recording your own npcs: https://sampforum.blast.hk/showthread.php?tid=95034