SA-MP Forums Archive
npc question ? - 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 question ? (/showthread.php?tid=147423)



npc question ? - iJumbo - 12.05.2010

can i make a npc, when I'm around him open a dialog?




Re: npc question ? - CJ101 - 12.05.2010

you make npc's with the npc recording filterscript.


Re: npc question ? - ViruZZzZ_ChiLLL - 12.05.2010

Here for the tutorial http://forum.sa-mp.com/index.php?topic=119947.0


Re: npc question ? - iJumbo - 12.05.2010

i know how to make a npc i want make a dialog open when im near a npc


Re: npc question ? - DJDhan - 12.05.2010

Use IsPlayerInRangeOfPoint(playerid,Float:range,x,y,z)
then GetPlayerPos(npcid,x,y,z)

Then show dialog.


Re: npc question ? - iJumbo - 12.05.2010

thx