This lags .... u_u
#7

One thing I noticed,
pawn Code:
for(new v = 0; v < MAX_PLAYERS; ++v)
{

   ...
}
->

pawn Code:
for(new v = 0; v < MAX_PLAYERS; ++v)
{
   if ( !IsPlayerConnected( v ) ) continue;

   ...
}
Also, move the SendClientMessage, printf, and SetTimer out of the for-loop.
Reply


Messages In This Thread
This lags .... u_u - by blackwave - 15.11.2010, 12:04
Re: This lags .... u_u - by The_Moddler - 15.11.2010, 12:10
Re: This lags .... u_u - by blackwave - 15.11.2010, 12:17
Re: This lags .... u_u - by iggy1 - 15.11.2010, 12:21
Re: This lags .... u_u - by blackwave - 15.11.2010, 12:23
Re: This lags .... u_u - by blackwave - 15.11.2010, 12:28
Re: This lags .... u_u - by Slice - 15.11.2010, 12:35
Re: This lags .... u_u - by The_Moddler - 15.11.2010, 12:58
Re: This lags .... u_u - by Slice - 15.11.2010, 13:01
Re: This lags .... u_u - by The_Moddler - 15.11.2010, 13:03

Forum Jump:


Users browsing this thread: 1 Guest(s)