SA-MP Forums Archive
NPC help.. - 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: NPC help.. (/showthread.php?tid=435359)



NPC help.. - kubeba59 - 06.05.2013

Where do I need to put a function that starts with,but without any command :

pawn Код:
if(IsPlayerInRangeOfPoint.................
{
blablablablabla
return 1;
}
The story:
I have 2 npcs in 2 different places and I would like to do that when a player type a command and he is near the npc,the npc will say something to him but I don't want the other npc will do the same when I type the command so I need that

Tnx