02.12.2018, 16:52
Hello, I am trying to update my YSI includes and I got some warnings 'like warning 219: local variable "using_deprecated_foreach_syntax" shadows a variable at a preceding level'
My question in how to define Foreach(Player, i) to Foreach(new i : Player)?Is this possible?
I tried this:
#define foreach(%0, %1) foreach(new %1 : Player) but don't work. I have to define it becouse my gamemode doesn't called all variables "i".
Thanks in advance
My question in how to define Foreach(Player, i) to Foreach(new i : Player)?Is this possible?
I tried this:
#define foreach(%0, %1) foreach(new %1 : Player) but don't work. I have to define it becouse my gamemode doesn't called all variables "i".
Thanks in advance