SA-MP Forums Archive
HELP WITH RP NPC wery need - 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: HELP WITH RP NPC wery need (/showthread.php?tid=155094)



HELP WITH RP NPC wery need - sarius159 - 16.06.2010

Hi all,i have a ide but i can't do that.How can i make my NPC stop to player when he runing accros the NPC NPC(Car).I saw that in one server.Pls help me i very need it quick.


Re: HELP WITH RP NPC wery need - NiiRV4N4 - 16.06.2010

something like


new npc[24];
npc = so and so
new float;x, new float;y, new float;z
getplayerpos(npc, x, y, z
if playertopoint(5.0, x, y, z)
{
NPC.Stop()
}

Work something out.


Re: HELP WITH RP NPC wery need - sarius159 - 17.06.2010

npc = so and so what write here ? D: