Forum Jump :

Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 57
In-game name: Kobayashi Maru

 
#185272 Posted at 2016-01-12 21:29        
     
I don't know where the problem is. You just have to past the code I wrote in init.sqf. The line:
if (!isServer) exitwith {};
means all after this line is running on server only. So, take this into account and add these lines at the end of init.sqf. If you have other lines initializing some scripts for all players, they must be above of this one.

Are you in SP or MP ? Due to the init order, it's important to wait for all DUWS initialisation. This script could use some post-init settings. If you run the mission in SP, you have to wait with the line:
waitUntil {!isnil "bis_fnc_init"};
or
waitUntil {player == player}; // not on a dedicated server of course!
waitUntil {time > 3}; // you can add this also

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS