Greetings,
Is it possible at all to take code from a CFG file, parse it, then run it? For example.
code.cfg
Code:
cs_set_user_money(id, 16000);
include.inl
Code:
..open file, etc.. new szLine[MAX_LINE_LENGTH];
fgets(file, szLine, charsmax(szLine));
..execute szLine..
I do not want to map out commands, e.g:
Code:
if (equali(szLine, "cs_set_user_money")) {}
Thanks for any help!