[FIX] error 025: function heading differs from prototype
#21

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

[DELETED]
Reply
#23

i need a proper donwload link for the fixed thing
Reply
#24

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;
}
Reply
#25

Perfect, I worked to perfection, thanks!
Reply
#26

You fixed it. SICK! Thanks so much <3
Reply
#27

Fixed!! Thanks
Reply
#28

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)