Avoid getting errors for using includes. - 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: Avoid getting errors for using includes. (
/showthread.php?tid=458337)
Avoid getting errors for using includes. -
Magic_Time - 16.08.2013
Hi, I have a gamemode which contains 5000 lines of script.
I'd like to hand out the gamemode in several includes to make it understandable.
The problem is that whenever I do it.
I get errors like:
" - Undefined symbol - "
How can I ward off from those errors?
- Sorry for my bad english.
Re: Avoid getting errors for using includes. -
Pottus - 16.08.2013
You'll probably have a bit of trouble breaking down your mode at that size it's easier to do this from the start. Some variables might be used across more than one system so make sure those ones stay in the gamemode and come before any includes.