Raised This Month: $ Target: $400
 0% 

ID error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 05-23-2010 , 09:32   ID error
Reply With Quote #1

Error :
Quote:
\amxmodx\scripting\remaining.sma(83) : error 017:
undefined symbol "id"
PHP Code:
public ShowMessage( ) {
    new 
iPlayers32 ], iNumTEAMS ];
    
//get_players( iPlayers, iNum[ TE ], "ae", "TERRORIST" );
    
get_playersiPlayersiNumCT ], "ae""CT" );
 
    if( 
iNumTE ] > || iNumCT ] > ) {
        new 
iCvarsCVARS ];
 
        
iCvarsRED      ] = get_pcvar_numg_pCvarsRED      ] );
        
iCvarsGREEN    ] = get_pcvar_numg_pCvarsGREEN    ] );
        
iCvarsBLUE     ] = get_pcvar_numg_pCvarsBLUE     ] );
        
iCvarsLOCATION ] = get_pcvar_numg_pCvarsLOCATION ] );
 
        if( 
iCvarsLOCATION ] > sizeofg_flCoords ) - ) {
            
set_pcvar_numg_pCvarsLOCATION ], );
 
            
iCvarsLOCATION ] = 1;
        }
 
        
set_hudmessageiCvarsRED ], iCvarsGREEN ], iCvarsBLUE ], 
        
g_flCoordsiCvarsLOCATION ] ][ ], g_flCoordsiCvarsLOCATION ] ][ ], 0HUD_STAYHUD_STAY0.00.0);
 
        
//show_hudmessage( 0, "Players Remaining^nTE: %i^nCT: %i", iNum[ TE ], iNum[ CT ] );
 
new CsTeams:iTeam cs_get_user_team(id);
 if (
iTeam == CS_TEAM_T)
  {
        
show_hudmessage(0"Counter-Terrorists Remaining: %i"iNumCT ] );
  }
 }
    }

edgaras85 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 05:26.


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