SA-MP Forums Archive
[FIX] error 025: function heading differs from prototype - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [FIX] error 025: function heading differs from prototype (/showthread.php?tid=488198)

Pages: 1 2


Re: [FIX] error 025: function heading differs from prototype - ZeroTheScyther - 18.02.2014

Hey guys I've got a problem with impl.inc from y_hooks. When I try to complie my gamemode I get

pawn Code:
C:\Documents and Settings\ZeroTheScyther\Desktop\[RO]PZZRP\pawno\include\YSI\y_hooks/impl.inc(1755) : error 025: function heading differs from prototype
And Line 1755 in y_hooks/impl.inc (Opened in Pawno) is

pawn Code:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z)
Could anyone tell me how to fix this?

Just fixed that by changing the line with the line from the previous version.


Re: [FIX] error 025: function heading differs from prototype - ZeroTheScyther - 18.02.2014

[DELETED]


Re: [FIX] error 025: function heading differs from prototype - Arjanz - 25.02.2014

i need a proper donwload link for the fixed thing


Respuesta: [FIX] error 025: function heading differs from prototype - luciano123 - 25.02.2014

hello people am new and would like to help me with that I did filterscripters command to open with a door and closes automatically but has errors

new Puerta;

public OnFilterScriptInit()
{
Puerta = CreateObject(980,2719.8799,-2395.5300,15.6100,0.0000,0.0000,90.6100);return 1;
return 1;
}
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/abrir", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 30.0, 2719.8799,-2395.5300,15.6100)) //Posicion donde Se Ejecutara La Funcion
{
MoveObject(Puerta,2719.8799,-2395.5300,15.6100,3.0); //Posicion De la Puerta Abierta
SetTimer("CerrarPuerta", 1000, true); //Tiempo que Se Cerrada Automaticamente
}
return 1;
}

return 0;
}

forward CerrarPuerta(playerid);
public CerrarPuerta(playerid)
{
MoveObject(Puerta,2719.8799,-2405.4300,15.6100,3.0); //Posicion De la Puerta Cerrada
return 1;
}


Respuesta: [FIX] error 025: function heading differs from prototype - PitbullKiller - 26.12.2014

Perfect, I worked to perfection, thanks!


Re: [FIX] error 025: function heading differs from prototype - Sellize - 21.03.2015

You fixed it. SICK! Thanks so much <3


Re: [FIX] error 025: function heading differs from prototype - DeeJas - 14.05.2015

Fixed!! Thanks


Re: [FIX] error 025: function heading differs from prototype - Alby - 21.05.2015

Quote:
Originally Posted by Riddick94
View Post
Fixed all the missing parts, and specifiers. Download below.

http://sendupload.cba.pl/getfile.php?id=225
Doesn't work still


Re: [FIX] error 025: function heading differs from prototype - RedGun2015 - 19.03.2017

Quote:
Originally Posted by Riddick94
Fixed all the missing parts, and specifiers. Download below.

http://sendupload.cba.pl/getfile.php?id=225
Doesn't work still