error 025: function heading differs from prototype !
#1

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 !!!

Reply
#2

Ignore this post please
Reply
#3

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);


Reply
#4

https://sampwiki.blast.hk/wiki/OnDialogResponse

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
Reply
#5

My mistake. Post edited
Reply
#6

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
Reply
#7

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;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)