error 025: function heading differs from prototype ! -
vardanega - 28.01.2010
Hello, I have a compilation error following error:
(47): error 025: function heading differs from prototype
Код:
public OnDialogResponse(playerid, specplayerid, dialogid, response, listitem, inputtext[])
{
Thanks !!!
Re: error 025: function heading differs from prototype ! -
WrathOfGenesis - 28.01.2010
Ignore this post please
Re: error 025: function heading differs from prototype ! -
vardanega - 28.01.2010
thank you for your answer but now I have 2 error
thank you
(47) : error 025: function heading differs from prototype
(225) : error 035: argument type mismatch (argument 2)
2 Errors.
Код:
BanEx(cpi[playerid],inputtext);
Re: error 025: function heading differs from prototype ! -
ettans - 28.01.2010
https://sampwiki.blast.hk/wiki/OnDialogResponse
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
Re: error 025: function heading differs from prototype ! -
WrathOfGenesis - 28.01.2010
My mistake. Post edited
Re: error 025: function heading differs from prototype ! -
vardanega - 28.01.2010
Hello, I still have the same error:
(47) : error 025: function heading differs from prototype
line 47:
[code=pawn]public OnDialogResponse(playerid, specplayerid, dialogid, response, listitem, inputtext[])[/code]
merci
Re: error 025: function heading differs from prototype ! -
dEcooR - 22.03.2012
hello i have this problem in line (1530) : error 025: function heading differs from prototype
wtf this ? :/
it is
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLos t,Float:ArmourLost)
{
if(PInfo[Shooter][Level] > 5)
{
new Float

,Float:y,Float:z;
GetPlayerPos(Target,x,y,z);
CreateExplosion(x,y,z,2,10.0);
GameTextForPlayer(Target,"~r~fire ~w~shot!",3000,3);
}
return 1;
}