YSI-Includes
YSI-Includes copied to clipboard
Question about #74
**/*---------------------------------------------------------------------*//**
*
* <param name="playerid">Player who left.</param>
* <remarks>
* Called AFTER "OnPlayerDisconnect" so that using "Kick" inside a
* "foreach" loop doesn't crash the server due to an OOB error.
* </remarks>
*//*--------------------------------------------------------------------**/**
Can someone please give me the MCVE that'll crash the server and do I need to do this for my iterators containing player ids (for example let's say that I have Admins iterator, can this cause problems and do I need to delay it 0ms too if I want to Iter_Remove inside OnPlayerDisconnect...?)?
#74
https://pastebin.com/DkhWF107 https://i.imgur.com/7IahvRX.png @Y-Less is this what it's supposed to fix? 🤔
so that using "Kick" inside a "foreach" loop doesn't crash the server due to an OOB error
is this what it's supposed to fix?
No. OOB = out of bounds. (Runtime error 4).
@tr1xy don't know, imgur doesn't work for me sorry.