• 0
[BRG] Pé de Porco

isServer & isDedicated

Question

I have this code on initServer.sqf:

// 1
if (isServer) then {
	[] execVM "scripts\include.sqf";
};

// 2
if (isDedicated) then {
	[] execVM "scripts\include.sqf";
};

// 3
[] execVM "scripts\include.sqf";


How to use?
Who is the best way to include scripts?
Scripts in wrong section could lag the server?

Sorry for novice questions.

Thank you all for the great work with Exile Mod.

Share this post


Link to post
Share on other sites

1 answer to this question

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

  • Recently Browsing   0 members

    No registered users viewing this page.