Skip to content

Instantly share code, notes, and snippets.

View Totobal5's full-sized avatar
🐓
basandose

Toto Totobal5

🐓
basandose
  • Chile
View GitHub Profile
@Totobal5
Totobal5 / function_execute.gml
Created June 20, 2022 01:50 — forked from tabularelf/function_execute.gml
A way to execute runtime/gml functions and method functions with one script.
function __func_array_insert(_array) {
var _length = argument_count-2;
var _index = argument[1]-1;
var _i = 1;
array_copy(_array,_index+_length, _array, _index, _length);
repeat(_length) {
_array[@ ++_index] = argument[++_i];
}
}