Raised This Month: $ Target: $400
 0% 

Undefined Symbol


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
edgaras85
Senior Member
Join Date: Mar 2010
Location: Lithuania
Old 05-10-2010 , 07:11   Undefined Symbol
Reply With Quote #1

PHP Code:
public resultsOfVote(tid){
 
gbVote=false;
 
 new 
giVotesOn=count(VOTE_ON);
 new 
giVotesOff=count(VOTE_OFF);
 
 
ColorChat(0,GREEN"[FreeRun]^x01 %L %L(%d) vs %L(%d)",LANG_SERVER,"FREERUN_RESULTS",LANG_SERVER,"YES",giVotesOn,LANG_SERVER,"NO"giVotesOff);
 
 if( 
giVotesOn == giVotesOff ){
  
ColorChat(0,GREEN"[FreeRun]^x01 %L",LANG_SERVER,"FREERUN_TIE");
  return;
 }
 
makeFreeRun((giVotesOn giVotesOff));
 
ColorChat(0,GREEN"[FreeRun]^x01 %L ^x03%L",LANG_SERVER,"FREERUN_WINOPTION",LANG_SERVERgbFreeRun?"YES":"NO");
}
makeFreeRun(bool:bFR=true){
 
gbFreeRun=bFR;
 
reset();
 
giRounds=0;
 
giTime=get_systime();
 
 if(
gbFreeRun){
  
set_hudmessage(02552550.02, -1.0);
  
show_hudmessage(0"FreeRun!");
  if (
is_user_aliveiPlayer )  &&  cs_get_user_teamiPlayer ) == CS_TEAM_T )
       {
     new 
iPlayers32 ], iNum;
            
get_playersiPlayersiNum"ae""CT" );
             for( new 
0iNumi++ )
              {
                   
StripWeaponsiPlayers] );
              }
      }
                 }
 

Where always undefined symbol "iPlayer"
I made this
PHP Code:
public resultsOfVote(tid,iPlayer){
 
gbVote=false;
 
 new 
giVotesOn=count(VOTE_ON);
 new 
giVotesOff=count(VOTE_OFF);
 
 
ColorChat(0,GREEN"[FreeRun]^x01 %L %L(%d) vs %L(%d)",LANG_SERVER,"FREERUN_RESULTS",LANG_SERVER,"YES",giVotesOn,LANG_SERVER,"NO"giVotesOff);
 
 if( 
giVotesOn == giVotesOff ){
  
ColorChat(0,GREEN"[FreeRun]^x01 %L",LANG_SERVER,"FREERUN_TIE");
  return;
 }
 
makeFreeRun((giVotesOn giVotesOff));
 
ColorChat(0,GREEN"[FreeRun]^x01 %L ^x03%L",LANG_SERVER,"FREERUN_WINOPTION",LANG_SERVERgbFreeRun?"YES":"NO");
}
makeFreeRun(bool:bFR=true){
 
gbFreeRun=bFR;
 
reset();
 
giRounds=0;
 
giTime=get_systime();
 
 if(
gbFreeRun){
  
set_hudmessage(02552550.02, -1.0);
  
show_hudmessage(0"FreeRun!");
  if (
is_user_aliveiPlayer )  &&  cs_get_user_teamiPlayer ) == CS_TEAM_T )
       {
     new 
iPlayers32 ], iNum;
            
get_playersiPlayersiNum"ae""CT" );
             for( new 
0iNumi++ )
              {
                   
StripWeaponsiPlayers] );
              }
    }
       }
 

still error...
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 03:37.


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