Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- custom_game = _this select 0;
- admin_house = _this select 1;
- if (isNil "custom_game") then {custom_game = true;active_game = true;};
- if (custom_game) then {active_game = true;};
- waitUntil {!isNil ("sporkinit")};
- _pos = getpos player;
- _veh = vehicle player;
- Modversion = "2.0";
- "Welcome to EvolutionZ" hintC parseText format ["
- <t size='1.25' shadow='1'align='left' color='#ff8800'>EvolutionZ %1</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>1. Buy/Sell guns @ Fire Stations</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>2. Banking @ Supermarkets on Laptops</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>3. Minigame is @ Stary</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>4. Minigame reward is $3000</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>5. Loot money off of Zombies and Players</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>6. Carshop @ Balota</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>7. CarShop vehicles do NOT SAVE on RESTART</t><br/>
- <t size='.7' shadow='1'align='left' color='#FFFFFF'></t><br/>
- <t size='1.1' shadow='1'align='left' color='#FFFFFF'>8. evolutionz.guildlaunch.com</t><br/>",
- (Modversion)];
- vehicle_spawner =
- {
- _allUnits = allUnits;
- player setVehicleInit "allUnits = [];";
- processInitCommands;
- clearVehicleInit player;
- allUnits = _allUnits;
- _dir = getdir player;
- _pos = getpos player;
- _pos = [(_pos select 0)+5*sin(_dir),(_pos select 1)+5*cos(_dir),0];
- sporkulus = createVehicle [spawnthisshit, _pos, [], 0, "CAN_COLLIDE"];
- sporkulus setVariable ["ObjectUID", "script made by Sporkulus", true];
- };
- level_up =
- {
- str _level_1;
- str _level_2;
- str _level_3;
- str _level_4;
- str _level_5;
- str _level_6;
- str _level_7;
- str _level_8;
- str _level_9;
- str _level_10;
- str _level_11;
- str _level_12;
- str _level_13;
- str _level_14;
- str _level_15;
- str _level_16;
- str _level_17;
- str _level_18;
- str _level_19;
- str _level_20;
- str _level_21;
- str _level_22;
- str _level_23;
- str _level_24;
- str _level_25;
- str _level_26;
- str _level_27;
- str _level_28;
- str _level_29;
- str _level_30;
- str _level_31;
- str _level_32;
- str _level_33;
- str _level_34;
- str _level_35;
- str _level_36;
- str _level_37;
- str _level_38;
- str _level_39;
- str _level_40;
- str _level_41;
- str _level_42;
- str _level_43;
- str _level_44;
- str _level_45;
- if ((currentMoney >= (v2)) and (currentMoney < (v3)) and (Currentlevel == 1)) then
- {
- Currentlevel = 2;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "Old_bike_TK_CIV_EP1";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v3)) and (currentMoney < (v4)) and (Currentlevel == 2)) then
- {
- Currentlevel = 3;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "Old_bike_TK_CIV_EP1";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};if (allow_rewards) then {genRewards = true;};
- };
- if ((currentMoney >= (v4)) and (currentMoney < (v5)) and (Currentlevel == 3)) then
- {
- Currentlevel = 4;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "TT650_Civ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v5)) and (currentMoney < (v6)) and (Currentlevel == 4)) then
- {
- Currentlevel = 5;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "TT650_Civ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v6)) and (currentMoney < (v7)) and (Currentlevel == 5)) then
- {
- Currentlevel = 6;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "ATV_US_EP1";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v7)) and (currentMoney < (v8)) and (Currentlevel == 6)) then
- {
- Currentlevel = 7;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "ATV_US_EP1";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- ////if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v8)) and (currentMoney < (v9)) and (Currentlevel == 7)) then
- {
- Currentlevel = 8;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "tractorOld";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v9)) and (currentMoney < (v10)) and (Currentlevel == 8)) then
- {
- Currentlevel = 9;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "tractorOld";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v10)) and (currentMoney < (v11)) and (Currentlevel == 9)) then
- {
- Currentlevel = 10;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "policecar";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v11)) and (currentMoney < (v12)) and (Currentlevel == 10)) then
- {
- Currentlevel = 11;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "policecar";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v12)) and (currentMoney < (v13)) and (Currentlevel == 11)) then
- {
- Currentlevel = 12;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "hilux1_civil_3_open";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v13)) and (currentMoney < (v14)) and (Currentlevel == 12)) then
- {
- Currentlevel = 13;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "hilux1_civil_3_open";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v14)) and (currentMoney < (v15)) and (Currentlevel == 13)) then
- {
- Currentlevel = 14;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "UAZ_CDF";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v15)) and (currentMoney < (v16)) and (Currentlevel == 14)) then
- {
- Currentlevel = 15;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "UAZ_CDF";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v16)) and (currentMoney < (v17)) and (Currentlevel == 15)) then
- {
- Currentlevel = 16;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "UralCivil2";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v17)) and (currentMoney < (v18)) and (Currentlevel == 16)) then
- {
- Currentlevel = 17;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "UralCivil2";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v18)) and (currentMoney < (v19)) and (Currentlevel == 17)) then
- {
- Currentlevel = 18;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "V3S_Civ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v19)) and (currentMoney < (v20)) and (Currentlevel == 18)) then
- {
- Currentlevel = 19;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "V3S_Civ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v20)) and (currentMoney < (v21)) and (Currentlevel == 19)) then
- {
- Currentlevel = 20;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "HMMWV_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v21)) and (currentMoney < (v22)) and (Currentlevel == 20)) then
- {
- Currentlevel = 21;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "HMMWV_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v22)) and (currentMoney < (v23)) and (Currentlevel == 21)) then
- {
- Currentlevel = 22;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "SUV_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v23)) and (currentMoney < (v24)) and (Currentlevel == 22)) then
- {
- Currentlevel = 23;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "SUV_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v24)) and (currentMoney < (v25)) and (Currentlevel == 23)) then
- {
- Currentlevel = 24;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "SUV_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v25)) and (currentMoney < (v26)) and (Currentlevel == 24)) then
- {
- Currentlevel = 25;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "AH6X_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v26)) and (currentMoney < (v27)) and (Currentlevel == 25)) then
- {
- Currentlevel = 26;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "MH6J_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v27)) and (currentMoney < (v28)) and (Currentlevel == 26)) then
- {
- Currentlevel = 27;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;//spawnthisshit = "MH6J_DZ";call vehicle_spawner;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v28)) and (currentMoney < (v29)) and (Currentlevel == 27)) then
- {
- Currentlevel = 28;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v29)) and (currentMoney < (v30)) and (Currentlevel == 28)) then
- {
- Currentlevel = 29;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v29)) and (currentMoney < (v30)) and (Currentlevel == 28)) then
- {
- Currentlevel = 29;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v30)) and (currentMoney < (v31)) and (Currentlevel == 29)) then
- {
- Currentlevel = 30;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v31)) and (currentMoney < (v32)) and (Currentlevel == 30)) then
- {
- Currentlevel = 31;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v32)) and (currentMoney < (v33)) and (Currentlevel == 31)) then
- {
- Currentlevel = 32;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v33)) and (currentMoney < (v34)) and (Currentlevel == 32)) then
- {
- Currentlevel = 33;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v34)) and (currentMoney < (v35)) and (Currentlevel == 33)) then
- {
- Currentlevel = 34;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v35)) and (currentMoney < (v36)) and (Currentlevel == 34)) then
- {
- Currentlevel = 35;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v36)) and (currentMoney < (v37)) and (Currentlevel == 35)) then
- {
- Currentlevel = 36;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v37)) and (currentMoney < (v38)) and (Currentlevel == 36)) then
- {
- Currentlevel = 37;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v38)) and (currentMoney < (v39)) and (Currentlevel == 37)) then
- {
- Currentlevel = 38;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v39)) and (currentMoney < (v40)) and (Currentlevel == 38)) then
- {
- Currentlevel = 39;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v40)) and (currentMoney < (v41)) and (Currentlevel == 39)) then
- {
- Currentlevel = 40;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v41)) and (currentMoney < (v42)) and (Currentlevel == 40)) then
- {
- Currentlevel = 41;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v42)) and (currentMoney < (v43)) and (Currentlevel == 41)) then
- {
- Currentlevel = 42;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v43)) and (currentMoney < (v44)) and (Currentlevel == 42)) then
- {
- Currentlevel = 43;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (v44)) and (currentMoney < (v45)) and (Currentlevel == 43)) then
- {
- Currentlevel = 44;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- };
- if ((currentMoney >= (45)) and (Currentlevel == 44)) then
- {
- Currentlevel = 45;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- Currentlevel = _setlevel;
- if (allow_texts) then {cutText [format["LEVEL %1 REACHED!", Currentlevel], "WHITE IN"];};
- //if (allow_sounds) then {playsound "Challenge_Completed";};genRewards = true;
- Sporkhint = format ["%1 reached level %2", name player, Currentlevel];
- publicVariable "Sporkhint";
- };
- if ((Currentlevel == 1) and (genRewards)) then
- {
- genRewards = true;
- if (genRewards) then
- {
- genRewards = false;
- };
- Nextlvl = v2;Lastlvl = 0;
- Should_EXP = 1;
- };
- if ((Currentlevel == 2) and (genRewards)) then
- {
- genRewards = true;
- if (genRewards) then
- {
- call _level_2;
- genRewards = false;
- };
- Should_EXP = 2;
- Nextlvl = v3;Lastlvl = 0;
- };
- if ((Currentlevel == 3) and (genRewards)) then
- {
- Nextlvl = v4;Lastlvl = v2;
- genRewards = true;
- if (genRewards) then
- {
- call _level_3;
- genRewards = false;
- };
- Should_EXP = 3;
- };
- if ((Currentlevel == 4) and (genRewards)) then
- {
- Nextlvl = v5;Lastlvl = v3;
- genRewards = true;
- if (genRewards) then
- {
- call _level_4;
- genRewards = false;
- Should_EXP = 4;
- };
- };
- if ((Currentlevel == 5) and (genRewards)) then
- {
- Nextlvl = v6;Lastlvl = v4;
- genRewards = true;
- if (genRewards) then
- {
- call _level_5;
- genRewards = false;
- };
- Should_EXP = 5;
- };
- if ((Currentlevel == 6) and (genRewards)) then
- {
- Nextlvl = v7;Lastlvl = v5;
- genRewards = true;
- if (genRewards) then
- {
- call _level_6;
- genRewards = false;
- };
- Should_EXP = 6;
- };
- if ((Currentlevel == 7) and (genRewards)) then
- {
- Nextlvl = v8;Lastlvl = v6;
- genRewards = true;
- if (genRewards) then
- {
- call _level_7;
- genRewards = false;
- };
- Should_EXP = 7;
- };
- if ((Currentlevel == 8) and (genRewards)) then
- {
- Nextlvl = v9;Lastlvl = v7;
- genRewards = true;
- if (genRewards) then
- {
- call _level_8;
- genRewards = false;
- };
- Should_EXP = 8;
- };
- if ((Currentlevel == 9) and (genRewards)) then
- {
- Nextlvl = v10;Lastlvl = v8;
- genRewards = true;
- if (genRewards) then
- {
- call _level_9;
- genRewards = false;
- };
- Should_EXP = 9;
- };
- if ((Currentlevel == 10) and (genRewards)) then
- {
- Nextlvl = v11;Lastlvl = v9;
- genRewards = true;
- if (genRewards) then
- {
- call _level_10;
- genRewards = false;
- };
- Should_EXP = 10;
- };
- if ((Currentlevel == 11) and (genRewards)) then
- {
- Nextlvl = v12;Lastlvl = v10;
- genRewards = true;
- if (genRewards) then
- {
- call _level_11;
- genRewards = false;
- };
- Should_EXP = 11;
- };
- if ((Currentlevel == 12) and (genRewards)) then
- {
- Nextlvl = v13;Lastlvl = v11;
- genRewards = true;
- if (genRewards) then
- {
- call _level_12;
- genRewards = false;
- };
- Should_EXP = 12;
- };
- if ((Currentlevel == 13) and (genRewards)) then
- {
- Nextlvl = v14;Lastlvl = v12;
- genRewards = true;
- if (genRewards) then
- {
- call _level_13;
- genRewards = false;
- };
- Should_EXP = 13;
- };
- if ((Currentlevel == 14) and (genRewards)) then
- {
- Nextlvl = v15;Lastlvl = v13;
- genRewards = true;
- if (genRewards) then
- {
- call _level_14;
- genRewards = false;
- };
- Should_EXP = 14;
- };
- if ((Currentlevel == 15) and (genRewards)) then
- {
- Nextlvl = v16;Lastlvl = v14;
- genRewards = true;
- if (genRewards) then
- {
- call _level_15;
- genRewards = false;
- };
- Should_EXP = 15;
- };
- if ((Currentlevel == 16) and (genRewards)) then
- {
- Nextlvl = v17;Lastlvl = v15;
- genRewards = true;
- if (genRewards) then
- {
- call _level_16;
- genRewards = false;
- };
- Should_EXP = 16;
- };
- if ((Currentlevel == 17) and (genRewards)) then
- {
- Nextlvl = v18;Lastlvl = v16;
- genRewards = true;
- if (genRewards) then
- {
- call _level_17;
- genRewards = false;
- };
- Should_EXP = 17;
- };
- if ((Currentlevel == 18) and (genRewards)) then
- {
- Nextlvl = v19;Lastlvl = v17;
- genRewards = true;
- if (genRewards) then
- {
- call _level_18;
- genRewards = false;
- };
- Should_EXP = 18;
- };
- if ((Currentlevel == 19) and (genRewards)) then
- {
- Nextlvl = v20;
- genRewards = true;
- if (genRewards) then
- {
- call _level_19;
- genRewards = false;
- };
- Should_EXP = 19;
- };
- if ((Currentlevel == 20) and (genRewards)) then
- {
- Nextlvl = v21;Lastlvl = v19;
- genRewards = true;
- if (genRewards) then
- {
- call _level_20;
- genRewards = false;
- };
- Should_EXP = 20;
- };
- if ((Currentlevel == 21) and (genRewards)) then
- {
- Nextlvl = v22;Lastlvl = v20;
- genRewards = true;
- if (genRewards) then
- {
- call _level_21;
- genRewards = false;
- };
- Should_EXP = 21;
- };
- if ((Currentlevel == 22) and (genRewards)) then
- {
- Nextlvl = v23;Lastlvl = v21;
- genRewards = true;
- if (genRewards) then
- {
- call _level_22;
- genRewards = false;
- };
- Should_EXP = 22;
- };
- if ((Currentlevel == 23) and (genRewards)) then
- {
- Nextlvl = v24;Lastlvl = v22;
- genRewards = true;
- if (genRewards) then
- {
- call _level_23;
- genRewards = false;
- };
- Should_EXP = 23;
- };
- if ((Currentlevel == 24) and (genRewards)) then
- {
- Nextlvl = v25;Lastlvl = v23;
- genRewards = true;
- if (genRewards) then
- {
- call _level_24;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 25) and (genRewards)) then
- {
- Nextlvl = v26;Lastlvl = v24;
- genRewards = true;
- if (genRewards) then
- {
- call _level_25;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 26) and (genRewards)) then
- {
- Nextlvl = v27;Lastlvl = v25;
- genRewards = true;
- if (genRewards) then
- {
- call _level_26;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 27) and (genRewards)) then
- {
- Nextlvl = v28;Lastlvl = v26;
- genRewards = true;
- if (genRewards) then
- {
- call _level_27;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 28) and (genRewards)) then
- {
- Nextlvl = v29;Lastlvl = v27;
- genRewards = true;
- if (genRewards) then
- {
- call _level_28;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 29) and (genRewards)) then
- {
- Nextlvl = v30;Lastlvl = v28;
- genRewards = true;
- if (genRewards) then
- {
- call _level_29;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 30) and (genRewards)) then
- {
- Nextlvl = v31;Lastlvl = v29;
- genRewards = true;
- if (genRewards) then
- {
- call _level_30;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 31) and (genRewards)) then
- {
- Nextlvl = v32;Lastlvl = v30;
- genRewards = true;
- if (genRewards) then
- {
- call _level_31;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 32) and (genRewards)) then
- {
- Nextlvl = v33;Lastlvl = v31;
- genRewards = true;
- if (genRewards) then
- {
- call _level_32;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 33) and (genRewards)) then
- {
- Nextlvl = v34;Lastlvl = v32;
- genRewards = true;
- if (genRewards) then
- {
- call _level_33;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 34) and (genRewards)) then
- {
- Nextlvl = v35;Lastlvl = v33;
- genRewards = true;
- if (genRewards) then
- {
- call _level_34;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 35) and (genRewards)) then
- {
- Nextlvl = v36;Lastlvl = v34;
- genRewards = true;
- if (genRewards) then
- {
- call _level_35;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 36) and (genRewards)) then
- {
- Nextlvl = v37;Lastlvl = v35;
- genRewards = true;
- if (genRewards) then
- {
- call _level_36;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 37) and (genRewards)) then
- {
- Nextlvl = v38;Lastlvl = v36;
- genRewards = true;
- if (genRewards) then
- {
- call _level_37;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 38) and (genRewards)) then
- {
- Nextlvl = v39;Lastlvl = v37;
- genRewards = true;
- if (genRewards) then
- {
- call _level_38;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 39) and (genRewards)) then
- {
- Nextlvl = v40;Lastlvl = v38;
- genRewards = true;
- if (genRewards) then
- {
- call _level_39;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 40) and (genRewards)) then
- {
- Nextlvl = v41;Lastlvl = v39;
- genRewards = true;
- if (genRewards) then
- {
- call _level_40;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 41) and (genRewards)) then
- {
- Nextlvl = v42;Lastlvl = v40;
- genRewards = true;
- if (genRewards) then
- {
- call _level_41;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 42) and (genRewards)) then
- {
- Nextlvl = v43;Lastlvl = v41;
- genRewards = true;
- if (genRewards) then
- {
- call _level_42;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 43) and (genRewards)) then
- {
- Nextlvl = v44;Lastlvl = v42;
- genRewards = true;
- if (genRewards) then
- {
- call _level_43;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 44) and (genRewards)) then
- {
- Nextlvl = v45;Lastlvl = v43;
- genRewards = true;
- if (genRewards) then
- {
- call _level_44;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- if ((Currentlevel == 45) and (genRewards)) then
- {
- Nextlvl = "Maxed Level";Lastlvl = v30;
- genRewards = true;
- if (genRewards) then
- {
- call _level_45;
- genRewards = false;
- };
- Should_EXP = 24;
- };
- };
- call level_up;
- waitUntil {!isNil ("Nextlvl")};
- while {custom_game} do
- {
- if (currentMoney > (maxexp)) then
- {
- currentMoney = (maxexp);
- };
- if (currentlevel < 45) then
- {
- if (currentMoney > (Nextlvl)) then
- {
- call level_up;
- };
- };
- TimestartContinue = (timeRestart)-(round(serverTime/60));
- if (Timestarted > TimestartContinue) then
- {
- PlayingTime = Timestarted - TimestartContinue;
- _timeplayed = profileNamespace getVariable ["TotalTime",0];
- profileNamespace setVariable ["TotalTime",_timeplayed+PlayingTime]; saveProfileNamespace;
- _timeplayed = profileNamespace getVariable ["TotalTime",0];
- Timestarted = TimestartContinue;
- };
- profileNamespace setVariable ["MyVehicle", Setvehicle]; saveProfileNamespace;
- profileNamespace setVariable ["MyBot",SetBot]; saveProfileNamespace;
- if (r_player_blood <= 0) then
- {
- sleep 2;
- mymoneyz = 0;
- Currentlevel = 0;
- currentMoney = 0;
- profileNamespace setVariable ["money",myMoneyZ]; saveProfileNamespace;
- profileNamespace setVariable ["level", Currentlevel]; saveProfileNamespace;
- profileNamespace setVariable ["rewardScore",currentMoney]; saveProfileNamespace;
- for "_i" from 0 to 40 do {deletevehicle _spawnAIS;};
- //endmission "LOSER";
- };
- if (mymoneyz > (maxmoney)) then
- {
- mymoneyz = (maxmoney);
- };
- if (bankmoney > (maxbank)) then
- {
- bankmoney = (maxbank);
- };
- _endsending = 0;
- _myLevel = currentLevel;
- player setVariable["Clevel",_myLevel, true];
- player setVariable["allmoney",myMoneyZ, true];
- player setVariable["MyBlood",r_player_blood, true];
- playername = name player;
- player setVariable["myplayer",playername, true];
- totalbank = bankMoney;
- player setVariable["totalbank",totalbank, true];
- addmoneyc = player getVariable["Cmoney",0];
- if (addmoneyc >= 1) then
- {
- bankMoney = bankMoney + addmoneyc;
- if (allow_texts) then {cutText [format["You received $%1 and was transfered to bank!", addmoneyc], "PLAIN"];};
- player setVariable["Cmoney",_endsending, true];
- };
- _setscore = profileNamespace getVariable [Exp_var,0];
- _setlevel = profileNamespace getVariable [lvl_var,0];
- profileNamespace setVariable [Exp_var,currentMoney]; saveProfileNamespace;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- profileNamespace setVariable [bank_var,bankMoney]; saveProfileNamespace;
- profileNamespace setVariable [money_var,mymoneyz]; saveProfileNamespace;
- myhp_fixer = (r_player_blood / 12000) * 100;
- myHp_corrector = round myhp_fixer;
- if (r_player_blood <= 0) then {myHp_corrector = "Dead!";};
- _pos = getpos player;
- _Lastlvlz = Lastlvl;
- _moneyz = currentMoney;
- _shopMoneyz = myMoneyZ;
- _levelz = currentlevel;
- _timerget = player getVariable["timer",0];
- _Nextlvlz = Nextlvl;
- Pname = name player;
- _timesinbad = (TimeToRestart)-(round(serverTime/60));
- _dotimerrestart = player setVariable["restarting",_timesinbad,true];
- MaxMoneyz = 20000;
- _fps = round diag_fps;
- _fpsfind = player setVariable["fps",_fps,true];
- _posmini = [6558.7339, 7651.7715, 0];
- _zombz = _posmini nearEntities ["z_soldier",200];
- _countz = count _zombz;
- _EXPz = Exp_Counter;
- _minicounts = profileNamespace getVariable ["minigame",0];
- _maxedlvl = 45;
- _checkEXP = Should_EXP;
- My_speed = speed (vehicle player);
- kills = player getVariable["zombieKills",0];
- _killsH = player getVariable["humanKills",0];
- _killsB = player getVariable["banditKills",0];
- _humanity = player getVariable["humanity",0];
- _pic = (gettext (configFile >> "CfgVehicles" >> (typeof vehicle player) >> "picture"));
- if (player == vehicle player) then
- {
- _pic = (gettext (configFile >> "cfgWeapons" >> (currentWeapon player) >> "picture"));
- }
- else
- {
- _pic = (gettext (configFile >> "CfgVehicles" >> (typeof vehicle player) >> "picture"));
- };
- //#ff0000 = red
- //#FFFFFF = white
- //#00FF00 = green
- //#00FFFF = blue
- //#c72842 = redish pink
- //#ffff00 = yellow
- //#ff8800 = orange
- if (IsDebug == 1) then
- {
- hintSilent parseText format["
- <t size='1.3' color='#FFFFFF'>EvolutionZ</t><br/>
- <t size='1.2'font='TahomaB'align='left' color='#14fb06'>Player Online:</t><t size='1.2'font='TahomaB'align='right'color='#14fb06'>%1</t><br/>
- <t size='1.2'font='TahomaB'align='left' color='#13ee67'>Website:</t><br/><t size='.9'font='TahomaB'align='right'color='#13ee67'>%2</t><br/>
- <t size='1.2'font='TahomaB'align='left' color='#13ee67'>TS3:</t><t size='1.2'font='TahomaB'align='right'color='#13ee67'>%3</t><br/>
- <br/>
- <t size='1.2'font='TahomaB'align='left'color='#13eedb'>Health:</t><t size='1.2' font='TahomaB'align='right'color='#13eedb'>%4 Percent</t><br/>
- <t size='1.2'font='TahomaB'align='left'color='#13b4ee'>Level:</t><t size='1.2' font='TahomaB'align='right'color='#13b4ee'>%5</t><br/>
- <t size='1.2'font='TahomaB'align='left'color='#1367ee'>Exp:</t><t size='1.2' font='TahomaB'align='right'color='#1367ee'>%6\%7</t><br/>
- <t size='1.2'font='TahomaB'align='left'color='#6d13ee'>Money:</t><t size='1.2' font='TahomaB'align='right'color='#6d13ee'>%8</t><br/>
- <t size='1.2'font='TahomaB'align='left'color='#6d13ee'>Money in Bank:</t><t size='1.2' font='TahomaB'align='right'color='#6d13ee'>%9</t><br/>
- <br/>
- <t font='TahomaB' align='Center' size='1.2' color='#FFBF00'>[%10]</t><br/>
- <img size='5.5' image='%11'/><br/>
- <t size='1.2'font='TahomaB'align='left' color='#3fa77d'>Humanity:</t><t color='#3fa77d' size='1.2'font='TahomaB'align='right'>%12</t><br/>
- <t size='1.2'font='TahomaB'align='left' color='#3fa77d'>MiniGame Timer:</t><t color='#3fa77d' size='1.2'font='TahomaB'align='right'>%13</t><br/>
- <t size='1.2'font='TahomaB'align='left' color='#3fa77d'>Zombies Left:</t><t color='#3fa77d' size='1.2'font='TahomaB'align='right'>%14</t><br/>
- <t size='1.2'font='TahomaB'align='center'color='#2ECCFA'>Fps: %15</t><br/>",
- (count playableUnits),
- (Web_name),
- (TS_name),
- (myHp_corrector),
- (_levelz),
- (_EXPz),
- (_Nextlvlz),
- (_shopMoneyz),
- (bankMoney),
- (gettext (configFile >> "CfgVehicles" >> (typeof vehicle player) >> "displayName")),
- _pic,
- (player getVariable["humanity", 0]),
- (_timerget),
- (_countz),
- (round diag_fps)];
- } else {
- if (IsDebug == 2) then
- {
- hintSilent parseText format ["
- <t size='1.3' color='#FFFFFF'>EvolutionZ</t><br/>
- <t size='1' color='#ff8800'></t><br/>
- <t size='.90' align='left' color='#ff8800'>Website: </t><t size='.90' align='right' color='#ff0000'>%11</t><br/>
- <t size='1' align='left' color='#ff8800'>TS: </t><t size='1' align='right' color='#ff0000'>%12</t><br/>
- <t size='1' align='left' color='#ff8800'>Health: </t><t size='1' align='right' color='#ff0000'>%6 Percent</t><br/>
- <t size='1' align='left' color='#ff8800'>Level: </t><t size='1' align='right' color='#ff0000'>%2</t><br/>
- <t size='1' align='left' color='#ff8800'>Speed: </t><t size='1' align='right' color='#ff0000'>%9 KPH</t><br/>
- <t size='1' align='left' color='#ff8800'>Exp: </t><t size='1' align='right' color='#ff0000'>%3\%1</t><br/>
- <t size='1' align='left' color='#ff8800'>Money: </t><t size='1' align='right' color='#ff0000'>$%7</t><br/>
- <t size='1' align='left' color='#ff8800'>Money in Bank: </t><t size='1' align='right' color='#ff0000'>$%10</t><br/>
- <t size='1' align='left' color='#ff8800'>Time to Restart: </t><t size='1' align='right' color='#ff0000'>%5 Min</t><br/>
- <t size='1' align='left' color='#ffff00'>MiniGame Timer: </t><t size='1' align='right' color='#ff0000'>%13</t><br/>
- <t size='1' align='left' color='#ffff00'>Zombies Left: </t><t size='1' align='right' color='#ff0000'>%14</t><br/>
- <t size='1' color='#ff8800'>F5 To Toggle Debug</t><br/>
- <t size='1' color='#ff8800'>Right Ctrl for most info</t>",
- (_Nextlvlz),
- (_levelz),
- (_moneyz),
- (_EXPz),
- (_timesinbad),
- (myHp_corrector),
- (_shopMoneyz),
- (_highest),
- (round My_speed),
- (bankMoney),
- (Web_name),
- (TS_name),
- (_timerget),
- (_countz)];
- } else
- {
- hintSilent "";
- };
- };
- };
- _checkingmini = _pos nearObjects ["Land_Terrace_K_1_EP1",75];
- _countnearmini = count _checkingmini;
- if ((_levelz) > (_maxedlvl)) then
- {
- Currentlevel = 1;
- currentMoney = 0;
- _setscore = profileNamespace getVariable [Exp_var,0];
- _setlevel = profileNamespace getVariable [lvl_var,0];
- profileNamespace setVariable [Exp_var,currentMoney]; saveProfileNamespace;
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- Sporkhint = format ["%1 Hacked his level!", name player];
- publicVariable "Sporkhint";
- };
- if (((_moneyz) < (_Lastlvlz)) and (currentlevel > 2)) then
- {
- Currentlevel = Currentlevel - 1;
- _setlevel = profileNamespace getVariable [lvl_var,0];
- profileNamespace setVariable [lvl_var, Currentlevel]; saveProfileNamespace;
- genRewards = true;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement