Posts: 1,659
Threads: 17
Joined: Sep 2008
Quote:
Originally Posted by Crayder
Why would you remove NPC support? You added Actor support, but removed one of the main iterators. I use both, the "Character" and "Bot" iterators, so I'm not exactly a fan of this change...
|
You don't understand. I have removed NPC
script support, this scripts located in npcmodes/ folder. Because I don't need this.
Quote:
Originally Posted by Konstantinos
About the Vehicle iterator: it is for local vehicles, each script has each own vehicles not global (from all scripts).
If you could add both options would be nice.
|
I can fix it, will be soon.
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by ZiGGi
You don't understand. I have removed NPC script support, this scripts located in npcmodes/ folder. Because I don't need this.
|
Yeah, I noticed. I was on my phone when I said that before.
However... You removed the YSI communication. So now if someone uses YSI they will corrupt each other.
Posts: 1,659
Threads: 17
Joined: Sep 2008
Quote:
Originally Posted by Crayder
However... You removed the YSI communication. So now if someone uses YSI they will corrupt each other.
|
Who uses YSI shouldn't use that.
Btw,
fork are updated, multiscripts now supported by FOREACH_MULTISCRIPT define.
Posts: 58
Threads: 15
Joined: Sep 2016
Reputation:
0
Thnx for ur great include but i have one question
foreach function may be used as foreach(Player : i); only or i may use something like foreach(MAX_BANKS : i);
Posts: 58
Threads: 15
Joined: Sep 2016
Reputation:
0
EDIt: sorry posted by wrong iam so sorry
Posts: 252
Threads: 22
Joined: Nov 2014
Reputation:
0
I have a problem with this include.
when I'm using foreach(new playerid : Player) it doesn't include the player id 0.
Why?
I mean, it start counting from 1+..
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by iSanchez
I have a problem with this include.
when I'm using foreach(new playerid : Player) it doesn't include the player id 0.
Why?
I mean, it start counting from 1+..
|
It's starts from the lowest playerid and goes through each other playerid. It's not like a foreach loop that loops through a range.
Posts: 824
Threads: 80
Joined: Oct 2013
Reputation:
0
Add support for vehicles, good job.
Posts: 2,938
Threads: 162
Joined: May 2010