I need help too. Idk what's wrong. It's the right format...
It doesn't brings an error, but it's not showed in my editor...
Code: Select all
#RequireContext CEditorPlugin
Text CreateManialink()
{
declare Integer MaxBlocksCount for ManialinkPage;
declare Ident[Integer] BlockModelIds for ManialinkPage;
declare Text[Integer] BlockModelNames for ManialinkPage;
//Working
declare MLText = """
<quad posn="-138 20.5 1" sizen="9 9" bgcolor="FFFA" style="Icons64x64_1" substyle="ArrowDisabled" rot="-3"/>
<quad posn="-58 24.8 1" sizen="9 9" bgcolor="FFFA" style="Icons64x64_1" substyle="ArrowNext" rot="-3"/>
<label posn="-115 19 0" sizen="44 5" text="THE PERFECT MAP" rot="-3"/>
<label posn="-129.5 -23 0" sizen="66 4" text="Pluginversion 0.1.1 by $069ÔÏ„x$fff»$i$069f$ffflorÇи$069É€$fffιus" rot="-3" tex tsize="1"/>
<label posn="-132 9 0" sizen="80 5" text="Welcome to your new mapping-coach!" rot="-3" textsize="3" autonewline="1"/>
<label posn="-130 -18 0" sizen="80 5" text="Good luck and have fun! :)" rot="-3" textsize="3" autonewline="1"/><label posn ="-131 1 0" sizen="81 17" text="In this short guide you will learn some cool tricks for perfect maps. In <number> sites yo u'll get the best tricks and some example pictures and maps to test!" rot="-3" textsize="2" autonewline="1"/>
<quad posn="-141 23 0" sizen="95 14" bgcolor="FFFA" style="Bgs1InRace" substyle="BgTitle3_4" rot="-3"/>
<quad posn="-141 23 0" sizen="95 14" bgcolor="FFFA" style="Bgs1InRace" substyle="BgTitle3_4" rot="-3"/>
<quad posn="-138.5 18 -1" sizen="90.5 78" bgcolor="FFFA" style="Bgs1InRace" substyle="BgGradTop" rot="-3"/> """;
return MLText;
}
main() {
// Without multiples layers :
ManialinkText = CreateManialink();
// With
declare Layer1 <=> UILayerCreate();
Layer1.ManialinkPage = CreateManialink();
}
//Test
//If you can help me, you can choose between kek and pasta

Thanks

