![]() |
include - Printable Version +- Gothic Online Forums (https://archive.gothic-online.com) +-- Forum: Scripting (English) (https://archive.gothic-online.com/forum-11.html) +--- Forum: Scripting Help (https://archive.gothic-online.com/forum-12.html) +--- Thread: include (/thread-1454.html) |
include - Xardas0327 - 01.05.2016 Do the Squirrel have such function, that the include in C++ or require in Lua? I found the dofile (http://www.squirrel-lang.org/forums/default.aspx?g=posts&m=6475), but the debug console of the client write: Error: the index 'dofile' does not exist; RE: include - Bimbol - 01.05.2016 Because GO using config file, for include scripts. Look at following line: <script src="myscript.nut" type="client" /> RE: include - Xardas0327 - 01.05.2016 I know this. Just I won't include 20 or more file in a file. But thx the answer. |