Karyuu_IsValidClient
This stock and alternatives need to disappear out of existence.
Code:
#define KARYUU_LOOP_CLIENTS(%1) for (int %1 = 0; %1 <= MaxClients; %1++) if (Karyuu_IsValidClient(%1))
#define KARYUU_LOOP_CLIENTS(%1) for (int %1 = 0; %1 < 999; %1++) if (Karyuu_IsValidClient(%1))
Only the second stock requires IsValidClient, because it leaks outside MaxClients
Note that I think MAXPLAYERS is a wrote method to loop.
__________________
I am available to make plugins for pay.
Discord: Eyal282#1334