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: error 025: function heading differs from prototype (
/showthread.php?tid=525881)
error 025: function heading differs from prototype -
Slicebook - 14.07.2014
Error: help please
Код:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z)
Re: error 025: function heading differs from prototype -
Konstantinos - 14.07.2014
Quote:
Important note: In SA-MP 0.3c - SA-MP 0.3x, this callback does not have the respective parameters (Float:new_x, Float:new_y, Float:new_z). They were only added in SA-MP 0.3z, so for backwards compatibility, remember this.
|
Your includes are not for 0.3z so update the server package (executables and includes).
Re: error 025: function heading differs from prototype -
Slicebook - 14.07.2014
dont work!
Re: error 025: function heading differs from prototype -
Slicebook - 14.07.2014
which one is wrong, include ?
Re: error 025: function heading differs from prototype -
BroZeus - 14.07.2014
download latest files of SDK 0.3z from mainsite
Respuesta: error 025: function heading differs from prototype -
SickAttack - 14.07.2014
Re-download the sa-mp package as your includes aren't up to date.
Re: error 025: function heading differs from prototype -
Slicebook - 14.07.2014
still wrong!
Respuesta: Re: error 025: function heading differs from prototype -
SickAttack - 14.07.2014
Quote:
Originally Posted by Slicebook
still wrong!
|
It isn't wrong, your the one who's wrong here because you don't know how to do it. Don't blame us, blame yourself :P
Re: error 025: function heading differs from prototype -
Slicebook - 14.07.2014
I downloaded again the server 0.3z, and there is the same error
Respuesta: error 025: function heading differs from prototype -
SickAttack - 14.07.2014
Did you replace the includes?
And did you download the sa-mp package from here:
https://sampforum.blast.hk/showthread.php?tid=524049?