Requested by IzNoGoD
left CoD2 1.0 out as it's easy to get the offsets if you compare them with the other cod2 patches.
(If you're gonna rip code, please leave a thanks/credit)
https://gist.github.com/riicchhaarrd...9ae3b075bd4234
Printable View
Requested by IzNoGoD
left CoD2 1.0 out as it's easy to get the offsets if you compare them with the other cod2 patches.
(If you're gonna rip code, please leave a thanks/credit)
https://gist.github.com/riicchhaarrd...9ae3b075bd4234
What does it do exactly?
HEY YOU'RE AWESOME
Should work like this:
It makes some scripting much easier, without some hackery to save the keys of an array in an extra array.PHP Code:
arr = [];
arr["a"] = 1;
arr["b"] = "two";
arr["c"] = 3.333;
keys = getArrayKeys(arr);
// keys[0] will be "a"
// keys[1] will be "b"
// keys[2] will be "c"