Freaking Fred
OpenDayZ Rockstar!
Hey guys! I have not frequented these forums in a long time and I have not been actively scripting in DayZ for just as long. I just recently found the time to start messing around with some scripts and I have run into a small obstacle that I am hoping someone can lead me through.
Is it possible to use an array of player UIDs with a forEach command or is there a similar work-around? Any help would be greatly appreciated.
Ex:
Is it possible to use an array of player UIDs with a forEach command or is there a similar work-around? Any help would be greatly appreciated.
Ex:
Code:
_uid = getPlayerUID player;
inList = _uid in ["123456789","987654321"];
{
// Insert Statements Here
} forEach inList