View Single Post
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-12-2007 , 00:06   Re: Parachute 1.3 (KRoTaL)
Reply With Quote #10

Quote:
Originally Posted by jim_yang View Post
i guess he means
Code:
new players[32], num
get_players(players, num)
for(new i; i<num; i++)
{
    get_user_name(players[i], ...)
    get_user_team(players[i], ...)
    get_user_ping(players[i], ...)
}
you can use a variable cache players[i]
Did you even look in the code? I'm sure jtp knows what caching is.

I'm sure ven meant well but I'm guess he only glanced at the code. Seeing as this is completely valid (as it's not used numerous times no reason to cache it):
Code:
		for(new a = 0; a < inum; a++) {
			has_parachute[players[a]] = true
		}
and the cvars not using pcvar are not the plugins cvars or are string cvars... Unless he means something else that I don't see and as jtp basically said "where?" not what...

Last edited by vittu; 01-12-2007 at 00:08.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu