SA-MP Forums Archive
NPC Help. Please Look At it. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: NPC Help. Please Look At it. (/showthread.php?tid=163126)



NPC Help. Please Look At it. - HACKHERS - 26.07.2010

I have a NPC Who is Must When Any one entred Vehicle He Must Goto Where I Recorded But I Can'T do it Any one can Help

Record name: "Ehliyet"
Type: "1"
Cars Name is CLUB4AIRPORT == Vehicleid 52


Re: NPC Help. Please Look At it. - RichyB - 26.07.2010

Instead of Connecting the NPC OnGamemodeInit

Put it OnPlayerEnterVehicle.
That might work.


Re: NPC Help. Please Look At it. - HACKHERS - 26.07.2010

what i Put In OnPlayerEnterVehicler ?


Re: NPC Help. Please Look At it. - RichyB - 26.07.2010

pawn Код:
ConnectNPC("NAME OF NPC","NPC FILE");