Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
^^
I've tried that but still the same.
It doesn't work.
Posts: 371
Threads: 66
Joined: Oct 2012
Reputation:
0
Update all your YSI inc file to latest version.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
sorry for double posting.
I've question. Since i saw it uses some YSI includes.
Does it means i need to load these used YSI includes first before foreach?
Because i put #include <foreach> below all YSI include that i use in the script.
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
I recently discovered that if you don't load YSI with a game-mode that the system won't initialize. So, for example, loading bare.amx and a new FS you've coded with foreach won't work because YSI isn't "on."
To combat this problem, I load up all of the YSI includes I used in my testing GM (which is basically a modified version of bare.amx); now I can load, unload, and reload FS's with no problem.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
^^
That didn't work for me.
Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
i think i've discovered the problem.
did foreach counts NPC as player? If it isn't.
Then that is the reason why it is not listing up in /admins.
I've to make sure first if it is fixed yet.
Question: Did foreach counts NPC as player?