Jump to content
Sign in to follow this  
timrorije

Need an equivalent for Config.cpp for InitPlayerLocal??

Recommended Posts

Hi there people!

First time question. 
Is there an equivalent for the initPlayerLocal.sqf in the Config.cpp files class config. 
 

I've created a mod that needs to setup some triggers client side per player (On connecting). 
It's all working with a script, but when doing it like below it does not seem to create the triggers locally on a client connecting...
I feel like the clientInit is an equivalent of the initPlayerServer.sqf and not an initClientLocal.sqf.
Am I wrong in believing this? 

Hope  you guys can help me! 🙂 
 

class Extended_PostInit_EventHandlers

{

    class North_Tables

    {

        clientInit = "[] execVM '\Display\Scripts\initPlayerLocal.sqf'";

    };

};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×