SA-MP Forums

SA-MP Forums (
-   Scripting Help (
-   -   NPC chase the nearest player (

VVWVV 21/09/2018 06:29 PM

Re: NPC chase the nearest player

Originally Posted by matje (Post 4053687)
(I think) foreach loops only through players, not NPCS.

This fork of the standalone foreach library declares the popular iterators - Player, Bot (NPC), Actor, Vehicle, etc.

All times are GMT. The time now is 06:31 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.