Quote:
Originally Posted by ConnorMcLeod
Nothing to do with game update, your code is bad.
The loop way shouldn't be used, because with those kind of loops, you need to check if each players is connected, this is the thing you don't check and when you try to retrieve pdata, it generates errors or crashes.
Anyway, use get_players, so you can retrieve a list of connected players, and if you use filters, you can retrieve all TERRORIST at once.
|
WRONG - theres nothing todo with loop, my method - get_maxplayers is more efficient than get_players since i cached all events for each index in right events also get_players sometimes returning false values, this only small part of the code, i am using like 9 loops per all code, have no crashes, rock stable 24/7.