error 025: function heading differs from prototype
#1

Error: help please

Код:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z)
Reply
#2

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).
Reply
#3

dont work!
Reply
#4

which one is wrong, include ?
Reply
#5

download latest files of SDK 0.3z from mainsite
Reply
#6

Re-download the sa-mp package as your includes aren't up to date.
Reply
#7

still wrong!
Reply
#8

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

I downloaded again the server 0.3z, and there is the same error
Reply
#10

Did you replace the includes?

And did you download the sa-mp package from here: https://sampforum.blast.hk/showthread.php?tid=524049?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)