Quote:
Originally Posted by TheStan
BOOYAH!
PHP Code:
function onCreated() { this.test(); } public function test() { temp.file = new TStaticVar(); temp.file.loadvars("gangs/Los Carteles.txt"); with (temp.file) { temp.keys = getstringkeys("this.rights-"); } for (temp.i: temp.keys) { if (temp.file.("rights-" @ temp.i)[7] == 1) { echo(temp.i); } } }
Should work rougly.
|
If that was C++ you'd have a memory leak. And you forgot the @ before "rights-" in the loop.