Raised This Month: $ Target: $400
 0% 

Invalid player


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 03-17-2010 , 17:00   Re: Invalid player
Reply With Quote #4

Quote:
Originally Posted by drekes View Post
I don't understand what you mean, could you make an example of my mistake and a solution, so i can see my mistake?
PHP Code:
new players[32], pnum
    get_players
(playerspnum"a");
    for( new 
ii<pnumi++ )
    {
        
check_user(id)
        if(
cs_get_user_team(id) == CS_TEAM_CT)
        {
            
handgun_menu(id)
        }
        
got_gun[id] = false
    


Code:
new players[32], pnum, tempid     get_players(players, pnum, "a");     for( new i; i<pnum; i++ )     {         tempid = players[i]         check_user(tempid)         if(cs_get_user_team(tempid) == CS_TEAM_CT)         {             handgun_menu(tempid)         }         got_gun[tempid] = false     }
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
 



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 08:48.


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