[Ajuda] error 012: invalid function call, not a valid address
#1

Nгo sei o que se passa com esse erro nesse cуdigo, o que seria?

PHP Code:
if(text[0] == '@')
    {
         
format(pFilesizeof(pFile), "clas/%s.ini"PlayerName(playerid));
         if(
dini_Exists(pFile))
         {
             if(
strcmp(dini_Get(pFile"cla"), "Nenhum"false))
            {
                new
                    
tmp[128]
                ;
                
strmid(tmptext1strlen(text));
                if(!
strlen(tmp))
                {
                    
SendClientMessage(playeridCOR_ERRO"Uso correto: @ Mensagem");
                    return 
0;
                }
                else
                {
                    for(new 
0MAX_PLAYERSc++)
                    {
                        if(
IsPlayerConnected(c))
                        {
                            
format(gFilesizeof(gFile), "clas/%s.ini"PlayerName(c));
                            if(
strcmp(dini_Get(gFile"cla"), "Nenhum"false))
                            {
                                if(
strcmp(dini_Get(gFile"cla"), dini_Get(pFile"cla"), true) == 0)
                                {
                                    
format(gstringsizeof(gstring), "Chat OnibusC %s: %s"PlayerName(playerid), tmp);
                                    
SendClientMessage(c0x00FF00AAgstring);
                                }
                              }
                        }
                    }
                    return 
0;
                }
               }
        }
    }
    return 
0;

Linha:

PHP Code:
format(pFilesizeof(pFile), "clas/%s.ini"PlayerName(playerid)); 
Ajudem pf
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)