AdminsChat, Admins Warns
#10

It returns the highest player's ID currently in the server.
Let's say MAX_PLAYERS is re-defined to 50 and there are 2 players connected in the server with IDs 0 and 4 (3 players disconnected). The loop will go from 0 to 4 whereas normally would go up to 50 (using i < MAX_PLAYERS).
Reply


Messages In This Thread
AdminsChat, Admins Warns - by oktokt1 - 19.07.2016, 08:29
Re: AdminsChat, Admins Warns - by Zeus666 - 19.07.2016, 08:58
Re: AdminsChat, Admins Warns - by UltraScripter - 19.07.2016, 09:07
Re: AdminsChat, Admins Warns - by Sjn - 19.07.2016, 09:10
Re: AdminsChat, Admins Warns - by oktokt1 - 19.07.2016, 09:35
Re: AdminsChat, Admins Warns - by Stinged - 19.07.2016, 09:36
Re: AdminsChat, Admins Warns - by Konstantinos - 19.07.2016, 09:37
Re: AdminsChat, Admins Warns - by oktokt1 - 19.07.2016, 15:28
Re: AdminsChat, Admins Warns - by oktokt1 - 19.07.2016, 19:28
Re: AdminsChat, Admins Warns - by Konstantinos - 19.07.2016, 21:01

Forum Jump:


Users browsing this thread: 3 Guest(s)