Quote:
Originally Posted by jim_yang
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...