CrosRoad95 Posted April 8, 2017 Share Posted April 8, 2017 Yes, i know that i can install module for server, but its problematic and not all script need new functions. Cool idea would be option to make simple c++ file, compile to .so or .dll and load to only 1 script.Somethink like: <script src="script.so"/> script.so have few function like int test(int i){ return i++; } bool test_two(){ return false } script=loadLib("script.so") script:call("functionname",arguments) script:functions() -- return all functions script.meta -- return table of information about file and i can call script:call("test",1) and return 2 Link to comment
Jusonex Posted April 9, 2017 Share Posted April 9, 2017 14 hours ago, PolskiSebek12 said: but its problematic Why do you think so? 2 Link to comment
CrosRoad95 Posted April 9, 2017 Author Share Posted April 9, 2017 (edited) I dont understand ( im from poland ) In config should be option to unlock package io and os lib ( hosting could block some of this ) Edited April 9, 2017 by CrosRoad95 Link to comment
Recommended Posts