Is <foreach> can only be used for MAX_PLAYERS ?
#1

Can i use <foreach> for looping the MAX_VEHICLES?

Note: I don't know if this thread should be here! but i don't see that it's related to Scripting Help Section cuz it's just a question about an "include".
Anyway move it if so!
Reply
#2

No, foreach can be used for many things (iterator about admins instead of looping through the players and checking their level etc).

I use foreach for the vehicles but if I'm not mistaken, it'll only work for one mode. For example, if you create vehicles to gamemode and filterscripts, it won't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)