Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isplayer player) then {
- removeallweapons player;
- 2003 CutText ["Initialising, Please Wait...", "BLACK"];
- player enablesimulation false;
- player addEventHandler ["respawn", {
- onMapSingleClick {_shift};
- 0 fadeRadio 0;
- player setskill 0;
- player setVariable ["BIS_noCoreConversations", true];
- {player disableAI _x} foreach ["MOVE","ANIM","TARGET","AUTOTARGET"];
- enableEngineArtillery false;
- enableRadio false;
- }];
- onMapSingleClick {_shift};
- 0 fadeRadio 0;
- player setskill 0;
- player setVariable ["BIS_noCoreConversations", true];
- {player disableAI _x} foreach ["MOVE","ANIM","TARGET","AUTOTARGET"];
- enableEngineArtillery false;
- enableRadio false;
- };
- //LOAD OTHER ONLY CLIENT THINGS HERE
- if (isplayer player) then {
- titleFadeOut 0.1;
- 2003 CutText ["Initialisation Completed", "BLACK IN", 5];
- player enablesimulation true;
- leaFunction = compile preprocessFileLineNumbers "lea\loadout-init.sqf";
- call leaFunction;
- };
- [] spawn {
- while {true} do {
- waituntil {!isNil "mcc_actionInedx"};
- [mcc_actionInedx] call CBA_fnc_removePlayerAction;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement