/admins some what problem
#6

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.
Reply


Messages In This Thread
/admins some what problem - by CBCandyBoy - 31.01.2013, 08:47
Re: /admins some what problem - by CBCandyBoy - 31.01.2013, 09:57
Re: /admins some what problem - by LarzI - 31.01.2013, 10:06
Re: /admins some what problem - by Threshold - 31.01.2013, 10:10
Re: /admins some what problem - by CBCandyBoy - 31.01.2013, 10:46
Re: /admins some what problem - by AndreT - 31.01.2013, 10:56
Re: /admins some what problem - by u3ber - 31.01.2013, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)