04.04.2010, 14:21
Hello. 
I was thinking about, making some NPC's that follow players once they spot them.
But, i don't know how to and i would like someone to show me the codes required to make this happen.
So far, i think that i will need a GetPlayerPos and to put a public OnPlayerStreamIn(playerid) in the NPC Script.
Please don't post links to others filterscripts, that can do this or to other websites.
I only want codes here, so i can understand how it fully works and so later (once i learn it)i can make a [TuT] showing how to and give credits to the person(s) that helped me.
Thanks.

I was thinking about, making some NPC's that follow players once they spot them.
But, i don't know how to and i would like someone to show me the codes required to make this happen.

So far, i think that i will need a GetPlayerPos and to put a public OnPlayerStreamIn(playerid) in the NPC Script.

Please don't post links to others filterscripts, that can do this or to other websites.
I only want codes here, so i can understand how it fully works and so later (once i learn it)i can make a [TuT] showing how to and give credits to the person(s) that helped me.
Thanks.
