View Single Post
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 03-13-2006 , 23:41  
Reply With Quote #4

Ok another little suggestion for effecieintcy.
Example of code (appears more than once)
Code:
    for ( new i = 0; i < pnum; i++ )     {         new id = players[i], team = get_user_team(id)
instead of having new vars in each iteration of the for loop use
Code:
    new id , team     for ( new i = 0; i < pnum; i++ )     {         id = players[i]         team = get_user_team(id)

[EDIT] Other than that just going to wait for user response before approving.
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos