CMD player name...
#5

Код:
if (IsPlayerConnected(i) && !IsPlayerNPC(i))
At least use player pool since you don't use foreach/y_iterate:
pawn Код:
// replace:
for (new i=0; i < MAX_PLAYERS; i++)
// with:
for(new i = 0, j = GetPlayerPoolSize(); i <= j; i++)
which is faster.
Reply


Messages In This Thread
CMD player name... - by xxxSpeedxxx - 08.06.2016, 15:10
Re: CMD player name... - by Stinged - 08.06.2016, 15:20
Re: CMD player name... - by Gammix - 08.06.2016, 15:21
Re: CMD player name... - by xxxSpeedxxx - 08.06.2016, 16:20
Re: CMD player name... - by Konstantinos - 08.06.2016, 16:43

Forum Jump:


Users browsing this thread: 1 Guest(s)