Search the Community
Showing results for tags 'check players'.
Found 1 result
-
hello mates, i have a problem with my script. When I click on the addaction , the script "anim.sqf " in " check.player.sqf" only starts for the player who clicked on the button. I tried this " [[[]," tasks \ eric_destroy_1 \ anim.sqf], "BIS_fnc_execVM", false, true] call BIS_fnc_MP; " But it didn' work . Do you have a solution for me ? Thank you and sory for my english ! this is "initserver.sqf" [[obj_1, ["<t color='#0000FF'>Demander une mission</t> ","check_player.sqf"]],"addAction",true,true] call BIS_fnc_MP; this is "check_player.sqf" if (!missionsud) then { hint format["wait"]; _task = ["eric_destroy_1","mio_sniper"] call BIS_fnc_selectRandom; switch (_task) do { case "eric_destroy_1": { _Blu_Base = ["eric_destroy_1"] call LARs_fnc_spawnComp; [] execVm "task\eric_destroy_1\anim.sqf"; }; case "mio_sniper": { _Blu_Base = ["mio_sniper"] call LARs_fnc_spawnComp; }; }; missionNamespace setVariable ["missionsud",true,true]; } else{ [ [A23, player], [ "mission already done ", "ah ok ?!" ], "DIRECT", true ] call IP_fnc_simpleConversation; }; And this is my "anim.sqf" setDate [2017, 10, 10, 18, 30]; _day = date select 1; _month = date select 2; _year = date select 0; _date = format ["%2\%1\%3",_day,_month,_year]; [[format["<","align = 'center' shadow = '1' size = '0.8' font='PuristaBold'"], [_date,"align = 'center' shadow = '1' size = '0.8'","#FFCC00"], ["","<br/>"],["<","align = 'center' shadow = '1' size = '0.8'"], [[daytime,"HH:MM"] call bis_fnc_timetostring,"align = 'center' shadow = '1' size = '0.9'"]],.23,1.3] spawn BIS_fnc_typeText2;