Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // @ SERVER and Single-player:
- if (!isServer) exitWith {};
- _v = _this select 0;
- private ["_camo","_num1","_num2","_logo2"];
- _camo = _v getVariable "camo";
- if (isNil "_camo") then { // if values are null, need to populate
- _camo = floor(random 8); // 9: 0-8
- _num1 = floor(random 9); // 10: 0-9
- _num2 = floor(random 9); // 10: 0-9
- _logo2 = floor(random 9); // 10: 0-9
- _v SetVariable ['ELS_Active',0,true];
- };
- _v setVariable ['camo', _camo, true];
- _v setVariable ['num1', _num1, true];
- _v setVariable ['num2', _num2, true];
- if (_logo2 > 4) then {
- _v setVariable ['logo2', true, true];
- } else {
- _v setVariable ['logo2', false, true];
- };
- [[[_v,_v getVariable 'camo', _v getVariable 'num1', _v getVariable 'num2', _v getVariable 'logo2'],"\pook_MIG23\scripts\randomClient.sqf"],"BIS_fnc_execVM"] call BIS_fnc_MP;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement