Sign in to follow this  
Followers 0
ApiStef

[Solved] XM8 On at startup

9 posts in this topic

Posted (edited)

Hi all i'm searching how my server can swith on the XM8 (of players) automaticly when they connect ?

Thx in advance for any help :-)

 

Edited by ApiStef

Share this post


Link to post
Share on other sites

There might be a better solution to this but i just tested and this works.

init.sqf

missionNamespace setVariable ["ExileClientXM8IsPowerOn",true];

 

Share this post


Link to post
Share on other sites
Advertisement

I have this set on my server but I'm away right now so can't check the file you'd need to change. I'll post back here on Saturday with the solution for you if no one else has solved this for you by then.

Share this post


Link to post
Share on other sites
32 minutes ago, 533DK said:

There might be a better solution to this but i just tested and this works.

init.sqf

Might be better in initplayerlocal

Share this post


Link to post
Share on other sites

Thx at all,

Works perfectly, code inserted in initplayerlocal.sqf

 

Share this post


Link to post
Share on other sites
1 hour ago, [4THC] NoRulez said:

Hi, and exists any way to set "Show my device in 8G Network" ON by default?

thanks

Copy and edit this file from you ExileServer.pbo:

ExileServer_object_player_createBambi.sqf

And change this line (line #87) from:

_bambiPlayer setVariable ["ExileXM8IsOnline", false, true];

To:

_bambiPlayer setVariable ["ExileXM8IsOnline", true, true];

Save the file and copy it to your mission file (Exile.MapName, located in mpmissions folder) and add the new file details to the CustomCode section on config.cpp in the mission file. Save, start the server. Tada. :)

Edited by kuplion
1 person likes this

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.