About the question forward and new's - 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: About the question forward and new's (
/showthread.php?tid=434389)
About the question forward and new's -
Vlad_Dredd - 02.05.2013
All welcome!
I ask this question: Is it possible to record all the forwards and new's in 1 inсlude, that did not take a lot of lines in the GM? If so, how?
__________________________________________________ ____________________________
Sorry for the bad English
Re : About the question forward and new's -
DaTa[X] - 02.05.2013
YES add them in include
Re: About the question forward and new's -
Yashas - 02.05.2013
yes, you can.
Create a new file "new.inc" in include folder in your server root folder.
Open it, copy all your forwards and news to it.
Then form your script include "#include <../include/new.inc"
If you were trying access variables form one script to other scripts,etc this won't work!