Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Socrate

Multiplayer Framework rADDACTION

Recommended Posts

Right now i'm executing the rADDACTION by the server more or less like this

//Init.sqf

if(isServer) then {

//Execute rADDACTION

};

but seems like that only the player (on the server machine) gets the Action added..is it the right way of using this command? Cause i thought that every multiplayer command ( of the multiplayer framework) must be executed only by one host (in my example only by the server). Is it right?

---------- Post added at 04:48 PM ---------- Previous post was at 04:44 PM ----------

for sake of clarity here it is the code:

if(isServer) then {

waitUntil{!isnil("BIS_MPF_InitDone")};

waitUntil{BIS_MPF_InitDone};

diag_log text "Init.sqf: Function Module Activated";

//We add the action for the respawn

_respawnWestActionID = [nil,flagWest,"loc" + "per",rADDACTION,"Respawn","respawn.sqf",[],1,false,true,"",""] call RE;

};

Share this post


Link to post
Share on other sites
Sign in to follow this  

×