[Ajuda] Erros =S
#1

Код:
(2700) : error 076: syntax error in the expression, or invalid function call
(2720) : error 076: syntax error in the expression, or invalid function call
(5400) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
os 2 primeiros erros nesse dialog:

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[]){
{
//
        
if(dialogid == DIALOG_PLAYERINFO)
        {
//
                
if(response == 1)
                {
//
                      
for(new i<= maxidi++)
                        {
//
                                
if(IsPlayerConnected(i))
                                {
                                    
format(infoStrsizeof(infoStr), "{FFFF00}%s {99FF00}FPS:%d {2F5B27}Ping:%d {7D26CD}Kills:%d ",GetPlayerName,GetPlayerFPS(playerid),GetPlayerPing,PlayerInfo[playerid][PlayerRoundKills]); // linha 2700
                                
}
                        }
                for(new 
i<= maxidi++)
                  {
                if(
IsPlayerConnected(i))
                {
                    
ShowPlayerDialog(playeridDIALOG_PLAYERINFODIALOG_STYLE_MSGBOX"{FF000F}Information:"infoStr"Refresh""Close");
                 }
              }
//
                
return 1;
        }
//
 
}//
if(dialogid == Click)
{
    new 
string[256];
    if(
response)//botгo 1
    
{
        if(
listitem == 0)
        {
        
format(string,sizeof(string),"{33AA33}Ping: {FFFFFF}%d {33AA33}FPS: {FFFFFF}%d ",GetPlayerPing(playerid),GetPlayerFPS(playerid));
        
ShowPlayerDialog(playeridClickDIALOG_STYLE_MSGBOX"Informaзхes"string"Ok""Cancelar");// linha 2720
        
return 1;
         }
          
    }
        return 
1;

e o erro na linha 5400

PHP код:
    else if(strcmp(cmd,"/playerinfo",true)==0)
{
        for(new 
i<= maxidi++)
        {
                if(
IsPlayerConnected(i))
                {
                      
format(infoStrsizeof(infoStr), "{FFFF00}%s \n{99FF00}FPS:%d {2F5B27}Ping:%d {7D26CD}Kills:%d "GetPlayerName,GetPlayerFPS,GetPlayerPing,PlayerInfo[playerid][PlayerRoundKills]);
                        
ShowPlayerDialog(playeridDIALOG_PLAYERINFODIALOG_STYLE_MSGBOX"{FF000F}Information:"infoStr"Refresh""Close");
                }
        }
        for(new 
i<= maxidi++)
        {
                if(
IsPlayerConnected(i))
                {
                        
ShowPlayerDialog(playeridDIALOG_PLAYERINFODIALOG_STYLE_MSGBOX"{FF000F}Information:"infoStr"Refresh""Close");
                }
        }
        return 
1;

Reply


Messages In This Thread
Erros =S - by Lukinhas_Ice - 06.07.2012, 13:50
Re: Erros =S - by Josma_cmd - 06.07.2012, 13:56
Re: Erros =S - by cJMaster_ - 06.07.2012, 13:56
Re: Erros =S - by Lukinhas_Ice - 06.07.2012, 14:01
Re: Erros =S - by cJMaster_ - 06.07.2012, 14:01
Re: Erros =S - by Lukinhas_Ice - 06.07.2012, 14:04
Re: Erros =S - by BreakDriFT - 06.07.2012, 14:05
Re: Erros =S - by Lukinhas_Ice - 06.07.2012, 14:07
Re: Erros =S - by BreakDriFT - 06.07.2012, 14:08
Re: Erros =S - by Lukinhas_Ice - 06.07.2012, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)