SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Old 21/09/2018, 05:29 PM   #11
Big Clucker
Join Date: Jun 2015
Posts: 141
Reputation: 70
Default Re: NPC chase the nearest player

Originally Posted by matje View Post
(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.
VVWVV is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
nearest player suni Scripting Help 7 21/06/2015 04:43 AM
how to get nearest player name Semo Scripting Help 4 13/07/2013 11:37 PM
nearest Player GoldZoroGrab Scripting Help 3 09/12/2012 10:52 AM
Nearest player budelis Help Archive 2 27/07/2011 07:11 AM
Get nearest player austin070 Help Archive 2 04/03/2011 12:07 AM

All times are GMT. The time now is 08:15 PM.

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