31.01.2013, 10:56
I have a few small suggestions to make about the loops.
Reset the admin variable to 0 in OnPlayerDisconnect. This will eliminate the need to call IsPlayerConnected(i) in the loop and hence make the loop execution faster.
Try using strcat (string concatenation) for appending strings to already long strings. Otherwise it'll get a lot slower when it grows bigger.
Reset the admin variable to 0 in OnPlayerDisconnect. This will eliminate the need to call IsPlayerConnected(i) in the loop and hence make the loop execution faster.
Try using strcat (string concatenation) for appending strings to already long strings. Otherwise it'll get a lot slower when it grows bigger.