Posts: 424
Threads: 21
Joined: Jun 2008
Reputation:
0
I was wondering if it is possible to call code that is in a file that is loaded on run-time.
If this doesn't work I will make a parser that reads the code from the file and finds out what to do, but that would be thousands of lines of code.
Thanks.
Posts: 2,593
Threads: 38
Joined: Aug 2007
Reputation:
0
As far as I know, there is no string-to-function code. This could be made with a plugin for faster processing and seemingly less work. Or this could be done with pawn code. I assume it would get complicated with creating new variables and control structures(if,for,while,switch).
Posts: 424
Threads: 21
Joined: Jun 2008
Reputation:
0
Does anyone know how to maybe do a #include on runtime (it can be on runtime, not compile, not while the server is running, basically read a file, and if it says, loadfrom=File.inc then use those functions.
maybe i could use #emit?