[URGENT][ALERT][HELP]help me or im going to die
how do i use runstring with the new gmod 13 headers i tried using get field and call like this
LUA->GetField(-1, "print");
LUA->PushString("xxxxxxxxxxxxxxxxxx");
LUA->Call(1, 0);
but when i run it it tells me
[ERROR] attempt to index a number value
1. ExampleFunc - [C]:-1
2. unknown - lua/testbed.lua:2
btw i just copy/pasted the example code and put the above shit in the example function and tried to call it in a script and also i tried blue kirbys extended luabase but it crashes my game when i try to run a string
thx gamers