Initial community commit

This commit is contained in:
Jef 2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit fc06254474
16440 changed files with 4239995 additions and 2 deletions

View file

@ -0,0 +1,14 @@
#include <lib/std.mi>
System.onScriptLoaded() {
group sg = getScriptGroup();
string params = getParam();
int offset = 0;
for (int a = 0; getToken(params,",",a) != ""; a++ )
{
guiobject tmp = sg.getObject(getToken(params,",",a));
tmp.setXMLparam("x",integertostring(offset));
offset += tmp.getAutoWidth();
}
}