[Tutorial] Good things for beginners (EASY THINGS)
#4

Quote:

for(new i=0; i<=GetPlayerPoolSize( ); i++)

Actually this is very bad, because the fucntion get everytime called.

If the order of the player is trivial, you can do it like this:

PHP Code:
for(new i=GetPlayerPoolSize(); i!=-1i--)
{

This is faster. (Or just use foreach)
Reply


Messages In This Thread
Good things for beginners (EASY THINGS) - by Mariciuc223 - 01.08.2015, 08:06
Re: Good things for beginners (EASY THINGS) - by Vince - 01.08.2015, 10:29
Re: Good things for beginners (EASY THINGS) - by dominik523 - 01.08.2015, 12:08
AW: Good things for beginners (EASY THINGS) - by Kaliber - 01.08.2015, 12:28

Forum Jump:


Users browsing this thread: 2 Guest(s)