SA-MP Forums Archive
Include load functions - 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: Include load functions (/showthread.php?tid=316362)



Include load functions - ~Light~ - 06.02.2012

Hello everyone, I am editing a gamemode, and I've stumbled upon a problem. There is an .inc file which stores car prices, and whenever I compile it, it throws errors, because it doesn't find functions that are in THE GAMEMODE! What do I do? Is there anyway I can link inc with pwn and amx [gamemode] ?


Re: Include load functions - ~Light~ - 06.02.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
It will find those functions if there are no other errors, but the result may be obscured by things like incorrectly matched braces causing functions to be enclosed inside others. Make sure all of your mode is correctly indented and look for anywhere that there are missing braces.
But it doesn't compile..


Re: Include load functions - ~Light~ - 06.02.2012

Quote:
Originally Posted by ******
Посмотреть сообщение
What's that got to do with what I said?
Sorry for being a bother. I mean about the functions, yes the gamemode recognizes it, BUT I can't edit because the include doesn't find them and throws errors, but the functions are in the gamemode.