Help isplayernear Npc? - 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: Help isplayernear Npc? (
/showthread.php?tid=290197)
Help isplayernear Npc? -
andruz99 - 14.10.2011
Is there somekind of a function if player is near npc?
Re: Help isplayernear Npc? -
wups - 14.10.2011
Quote:
Originally Posted by andruz99
Is there somekind of a function if player is near npc?
|
Use IsPlayerNearPlayer function, which is released a couple of times, and input the npc id instead of playerid. I think it should work.