eDistance include 2 warnings - 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: eDistance include 2 warnings (
/showthread.php?tid=600146)
eDistance include 2 warnings -
bugi - 04.02.2016
Код:
warning 235: public function lacks forward declaration (symbol "E@_OnPlayerExitVehicle")
warning 203: symbol is never used: "E@_S"
How do i fix this im using edistance include by EditPawn
LINK:
https://sampforum.blast.hk/showthread.php?tid=404367
Re: eDistance include 2 warnings -
Yashas - 04.02.2016
The author of the include has forgot to forward the callback.
Add the following line in the include (or in your script, but its nice to keep the include stuff in the include)
Код:
forward E@_OnPlayerExitVehicle(playerid, vehicleid);
The include doesn't seem to be using the "E@_S" variable, just delete it from the include (or replace the new with stock)
Re: eDistance include 2 warnings -
bugi - 05.02.2016
Thanks man