Raised This Month: $ Target: $400
 0% 

Parachute 1.3 (KRoTaL)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 #11

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
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode