SA-MP Forums Archive
[SOLVED] Client Message on NPC arrival - 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: [SOLVED] Client Message on NPC arrival (/showthread.php?tid=116357)



[SOLVED] Client Message on NPC arrival - OxygenBR - 28.12.2009

Hello SA-MP community!

I'm an Advanced-Begginer in Pawno, but i still have some doubts (as everbody have).

First of all, sorry if I made any English mistakes (as I'm Brazilian). Ok, here's the deal:

I've recorded a NPC Bus Driver (that's NOT the problem). The NPC does everything I want, he drives around town and all. But there's a small adjustment I wanted to do. I wanted a SendClientMessageToAll when it arrives at every place.

I've already tried to do a IsPlayerInRangeOfPoint but, nah... I guess it won't work for NPCs (maybe?)

So, thank you for your time, oh, and one more thing -

I'VE ALREADY SEARCHED THE WHOLE FORUM AND DIDN'T FIND ANYTHING THAT WORKED/USEFUL...

... just letting it loud and clear for anybody say "use search"!

Thanks!



Re: [HELP] Client Message on NPC arrival - V1ceC1ty - 28.12.2009

Are you using IsPlayerInRangeOfPoint in the FS/GM or the npcmode?


Re: [SOLVED] Client Message on NPC arrival - OxygenBR - 28.12.2009

Quote:
Originally Posted by V1ceC1ty
Are you using IsPlayerInRangeOfPoint in the FS/GM or the npcmode?
EDIT:

THANKS, I'VE FIXED IT!