14.11.2018, 16:23
Quote:
Thx very much NAS, but car still dont move. (i copy ur code in gamemode)
this is code right? PHP код:
|
One thing I just noticed is that you might have to wait a bit with FCNPC_GoTo after putting the NPC into a vehicle.
You can use this callback to know when the FCNPC finished entering. After FCNPC_EnterVehicle this will be called:
Код:
public FCNPC_OnVehicleEntryComplete(npcid, vehicleid, seat) { }
Your GoTo code seems correct, don't see anything wrong with it.