SA-MP Forums Archive
[Ajuda] Erros - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erros (/showthread.php?tid=529339)



[Ajuda] Erros - Kokum - 01.08.2014

Eae galera blz? fui compilar o GM do Metrуpole RPG, e deu uns Erros, e nгo consegui resolver, jб tentei de todas as formas, sou novo com isto. alguйm poderia me ajudar por favor?
PHP Code:
Desktop\Untitled.pwn(574) : error 035argument type mismatch (argument 3)
Desktop\Untitled.pwn(626) : error 035argument type mismatch (argument 3)
Desktop\Untitled.pwn(667) : error 035argument type mismatch (argument 3)
Desktop\Untitled.pwn(908) : error 035argument type mismatch (argument 3)
Desktop\Untitled.pwn(1542) : error 012invalid function callnot a valid address
Desktop
\Untitled.pwn(1542) : warning 215expression has no effect
Desktop
\Untitled.pwn(1542) : warning 215expression has no effect
Desktop
\Untitled.pwn(1542) : warning 215expression has no effect
Desktop
\Untitled.pwn(1542) : error 001expected token";"but found ")"
Desktop\Untitled.pwn(1542) : error 029invalid expressionassumed zero
Desktop
\Untitled.pwn(1542) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
8 Errors

PHP Code:
   cache_get_data(rowsfieldsg_mysql);
       
g_playerInfo[playerid][g_playerID] = cache_get_field_content_int(0"id"g_mysql);
    
lastInfo[_x] = cache_get_field_content_float(0"last_x"g_mysql);
    
lastInfo[_y] = cache_get_field_content_float(0"last_y"g_mysql);
    
lastInfo[_z] = cache_get_field_content_float(0"last_z"g_mysql);
    
lastInfo[_rot] = cache_get_field_content_float(0"last_angle"g_mysql);
    
lastInfo[_int] = cache_get_field_content_int(0"last_int"g_mysql);
    
lastInfo[_vw] = cache_get_field_content_int(0"last_vw"g_mysql);
    
lastInfo[_health] = cache_get_field_content_float(0"health"g_mysql);
    
lastInfo[_armour] = cache_get_field_content_float(0"armour"g_mysql);
    
lastInfo[_skin] = cache_get_field_content_int(0"skin"g_mysql);
    
SetSpawnInfo(playeridNO_TEAMlastInfo[_skin], lastInfo[_x], lastInfo[_y], lastInfo[_z], lastInfo[_rot], 000000);
    
TogglePlayerSpectating(
        
playeridfalse);
    
PlayerPlaySound(playerid30800000);
    return 
1
PHP Code:
            mysql_format(g_mysqlquerysizeof(query), "SELECT `id` FROM `mrpg_player` WHERE `name`=LOWER('%s') AND `password`=MD5('%e') LIMIT 1",
                
returnName(playerid),
                
inputtext
            
); 



Re: [Ajuda] Erros - Kuddy - 01.08.2014

26 erros nгo й necessariamente erro de chave, 26 erros й o nъmero mбximo de erros dados pelo compilador. Diz-se que й erro de chaves quando se estб programando um sistema e "do nada" da 26 erros.

Poste os erros tambйm.


Re: [Ajuda] Erros - Kokum - 01.08.2014

Dei um edit, foi uma merda que eu tinha feito kkkj