SA-MP Forums Archive
[Ajuda] error 025: function heading differs from prototype - 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] error 025: function heading differs from prototype (/showthread.php?tid=558986)



error 025: function heading differs from prototype - adilon - 20.01.2015

Erro:
PHP код:
D:\server samp com pawno\pawno\include\streamer.inc(297) : warning 202number of arguments does not match definition
D
:\server samp com pawno\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Error

PHP код:
        {//linha 297
            
format(logStringsizeof logString"O jogador %s[%d], foi spawnado na casa %d, e coletou o aluguel de $%d."playerNameplayeridhousehouseData[house][houseIncoming]);
            
WriteLog(LOG_HOUSESlogString);
            
GivePlayerMoney(playeridhouseData[house][houseIncoming]);
            
houseData[house][houseIncoming] = 0;
            
DOF2_SetInt(ownerFile"ValorAreceber"houseData[house][houseIncoming]);
            return 
1;
        }
//linha 304 



Re: error 025: function heading differs from prototype - [BOPE]Seu._.Madruga - 20.01.2015

Mande oque estб na linha 296


Re: error 025: function heading differs from prototype - adilon - 20.01.2015

Linha 296:
PHP код:
if(value != 0



Re: error 025: function heading differs from prototype - MultiKill - 20.01.2015

O erro й na include streamer tenta atualiza a include e o plugin.


Re: error 025: function heading differs from prototype - adilon - 20.01.2015

ja atualizei e nгo adianta


Re: error 025: function heading differs from prototype - [BOPE]Seu._.Madruga - 20.01.2015

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
O erro й na include streamer tenta atualiza a include e o plugin.
Tambйm estranhei pois ele mandou oque estava na linha do GM.


Re: error 025: function heading differs from prototype - MultiKill - 20.01.2015

Coloque no pastebin a include streamer que vocк estб usando.


Re: error 025: function heading differs from prototype - adilon - 20.01.2015

aqui esta o link do pastebin:
pastebin


Re: error 025: function heading differs from prototype - MultiKill - 20.01.2015

Apague estб include que vocк estб usando e baixe este pacote da include:

Aqui

Pois estб que vocк estб usando tem coisas que nгo eram para estar nela.


Re: error 025: function heading differs from prototype - adilon - 20.01.2015

Obrigado MultiKill e [BOPE]Seu._.Madruga

Eu dei uma booaaa procurada na net e achei uma include
que funcionou perfeitamente