View Single Post
Old 17/09/2011, 11:40 PM   #8
Big Clucker
RelaxCafe's Avatar
Join Date: Jun 2011
Posts: 88
Reputation: 8
Default Re: How to get script that starts EXACTLY when an NPC's path starts

I know what you mean mate. Now.. I do not know if there is a function to get the npc's state. Well, what you can do is restart the npc everytime.. Like : OnPlayerSpawn(..){SpawnPlayer(npcid);PutPlayerInVe hicle(playerid,2,2);}
Try that.. Now get the vehicle id the npc is driving. And place it on the first number 2. Plus the the id of the driver(npc).
I hope this worked for you mate..

First Time Public; Current Stage: Beta testing.

RelaxCafe is offline   Reply With Quote