CMlScriptIngame in mode

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

CMlScriptIngame in mode

Post by BigBang1112 »

5 topics in 3 days man, xd
I know I'm a bit annoying by this, I appreciate your answers, but I would like to ask: How do I read CmlScriptIngame in gamemode scripts?

Thanks for any answers.
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
User avatar
Dommy
Translator
Translator
Posts: 1866
Joined: 25 Aug 2011, 21:45
Location: Poland
Contact:

Re: CMlScriptIngame in mode

Post by Dommy »

In manialinks.

Code: Select all

#Include "Libs/Nadeo/Layers2.Script.txt" as Layers

***StartServer***
Layers::Create("Something", """
<script><!--
// Your code here
--></script>
""");
Layers::Attach("Something");
***
And boom, all players have now a manialink running script on their screens.
Ryzen 7 2700X, GTX 1070 Ti, 16 GB RAM, Windows 10 Insider Build
FORUM MODERATOR • CREATOR OF SHOOTMANIA GALAXY & TRACKMANIA² PURSUIT

Contact me via GALAXY & PURSUIT DISCORD
User avatar
BigBang1112
Posts: 388
Joined: 20 Jul 2015, 12:44
Location: Czech Republic
Contact:

Re: CMlScriptIngame in mode

Post by BigBang1112 »

Lol I forgot xD Thanks for explain!
Creator and competent racer. YouTube Discord
- ENVIMIX (out in open-source)
- Challenge (OUT NOW)
- Leaderboards (OUT NOW)
- Compute Shadows
Post Reply

Return to “ManiaScript”

Who is online

Users browsing this forum: No registered users and 2 guests