03.08.2013, 12:09
Foreach has more functinos then just have a loop around all the players on the server.
You could make a itter that will save the ID's of the players you need and then make a loop around them.
I cant explain a lot about foreach but this topic will be able to help you out https://sampforum.blast.hk/showthread.php?tid=92679 check the "Functions" section.
You could make a itter that will save the ID's of the players you need and then make a loop around them.
I cant explain a lot about foreach but this topic will be able to help you out https://sampforum.blast.hk/showthread.php?tid=92679 check the "Functions" section.