SA-MP Forums Archive
warning 235 - 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: warning 235 (/showthread.php?tid=629255)



warning 235 - crukk11 - 23.02.2017

how to fix warning 235: public function lacks forward declaration (symbol "GetVehicleModelIDFromName")


Quote:

H:\gta server cc bukit\gamemodes\GL.pwn(3591) : warning 235: public function lacks forward declaration (symbol "GetVehicleModelIDFromName")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.




Re: warning 235 - StrikerZ - 23.02.2017

You have to forward the function. For ex
Код:
forward test(playerid);
public test(playerid)
{
 return 1;
}



Re: warning 235 - crukk11 - 23.02.2017

how i put the code


Re: warning 235 - Sew_Sumi - 23.02.2017

You need to declare the function as that's what the error is.