eDistance include 2 warnings
#1

Код:
 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
Reply
#2

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

Thanks man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)