Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Error: Pawn Compiler library stopped working

$
0
0
Hello, I need your help, I try to enter these code lines from a derby to my GM but it marks me a pawno error that stopped working, that it will be wrong with this line or where should I put it?, Thanks

Error: Pawn Compiler library stopped working

I leave the line of code ->

PHP Code:

LoadDerbyNames(mapname[])
{
    new 
File:Handler fopen(mapnameio_read);
    if(!
Handler)
    {
        
printf("--- Error cargando '%s', no se encontró la lista de mapas derby."mapname);
        return 
0;
    }

    for(new 
0!= sizeof DERBY_FILE_INFO++)
    {
        
DERBY_FILE_INFO[i][DERBY_NAME] = EOS;
        
DERBY_FILE_INFO[i][DERBY_FILE_EXISTS] = false;
        
DERBY_FILE_INFO[i][DERBY_FILE_VALID] = false;
    }

    
TOTAL_DERBYS 0;

    while(
fread(HandlerObject_String))
    {
        
StripNewLine(Object_String);
        if(!
isnull(Object_String))
        {
            if(
TOTAL_DERBYS >= MAX_DERBYS)
            {
                
printf("--- Error, se ha supero el límite (%d) de mapas derby."MAX_DERBYS);
                return 
0;
            }
            
DERBY_FILE_INFOTOTAL_DERBYS ][DERBY_FILE_EXISTS] = true;
            
format(DERBY_FILE_INFOTOTAL_DERBYS ][DERBY_NAME], 24"%s"Object_String);
            
TOTAL_DERBYS ++;
        }
    }

    
fclose(Handler);

    if(
TOTAL_DERBYS == 0)
    {
        
printf("--- Error cargando la lista de derbys '%s', no se encontró ningún derby."mapname);
        return 
0;
    }
    
printf("--- LISTA '%s' OK. Se importaron %d mapas derby."mapnameTOTAL_DERBYS);
    return 
1;



Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>