Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

TheEndRok

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Everything posted by TheEndRok

  1. How can I determine the amount of gold that will be in the bank?
  2. How I can fix this error: script restriction #0 I added one new script
  3. TheEndRok

    script restriction #0

    This is my error from scripts.log "this allowDamage false; this enableSimulation false; this addAction[localize"STR_MAR_Open_Vault",life_fnc_safeOpen,"",0,false,fa" What line to add it in scripts.txt Add all the formula?
  4. TheEndRok

    script restriction #0

    Can I somehow add this script to battleye exceptions?
  5. TheEndRok

    script restriction #0

    Fastrope https://www.altisliferpg.com/topic/1152-tutorial-fastrope-script/
  6. StartProgress = false; [] execVM ''scripts\zlt_fastrope.sqf''; [] execVM "b> 12:18:38 Error position: <scripts\zlt_fastrope.sqf''; [] execVM "b> 12:18:38 Error Missing ; 12:18:38 File mpmissions\Altis_Life.Altis\init.sqf, line 10 12:18:38 Error in expression < How I can fix this?
  7. When I buy a helicopter throws me to the server. How do I fix it? This is: createvehicle.log 12.05.2017 22:02:11: (NAME) (IP) GUID - #1 "I_Heli_light_03_unarmed_F" 3:27 [5623,7517,-183]
  8. TheEndRok

    battleye - config

    When I add !="Land_BarGate_F" I have next error: attachTo How to fix error attachTo ?
  9. TheEndRok

    battleye - config

    I tried and did not work, do you have any other idea?
  10. TheEndRok

    battleye - config

    Thank you very much! :) And how do I add it? This is an object added by the menu. Same as hellcat in createvehicle.txt? When I add it the same as Hellcat it kick me by battleye 13.05.2017 08:37:25: (NAME) (IP) (GUID) - #1 "Land_BarGate_F" 3:61 [3202,12928,6]
  11. TheEndRok

    battleye - config

    When I click on the hellcat in the store throws me from the battleye server
  12. Hi, I have problem with 3 last class cop: class cop_swat, class cop_komendant and class cop_aspirant In game I can open other cop shops. This is my code, where is my problem? Edited stores work, and new ones do not I have 7 lvl cops in the database ======================================================================================================================================= Config_Weapons.hpp ======================================================================================================================================= /* * Format: * level: ARRAY (This is for limiting items to certain things) * 0: Variable to read from * 1: Variable Value Type (SCALAR / BOOL / EQUAL) * 2: What to compare to (-1 = Check Disabled) * 3: Custom exit message (Optional) * * items: { Classname, Itemname, BuyPrice, SellPrice } * * Itemname only needs to be filled if you want to rename the original object name. * * Weapon classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons * Item classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items * */ class WeaponShops { //Armory Shops class gun { name = "Bron Cywila"; side = "civ"; license = "gun"; level[] = { "", "", -1, "" }; items[] = { { "hgun_ACPC2_F", "", 6500, -1 }, { "hgun_Rook40_F", "", 8250, -1 }, { "hgun_Pistol_heavy_01_F","", 12500, -1}, { "hgun_Pistol_heavy_02_F", "", 19850, -1 }, { "hgun_PDW2000_F", "", 25000, -1 }, { "SMG_01_F","", 28500, -1}, { "SMG_02_F" ,"", 35850, -1} }; mags[] = { { "9Rnd_45ACP_Mag", "", 175 }, { "30Rnd_9x21_Mag", "", 225 }, { "11Rnd_45ACP_Mag", "", 250 }, { "6Rnd_45ACP_Cylinder", "", 325 }, { "30Rnd_45ACP_Mag_SMG_01", "", 350 } }; accs[] = { { "optic_MRD", "", 925 }, { "optic_ACO_grn_smg", "", 1850 }, { "optic_Yorris", "", 1550 } }; }; class rebel { name = "Bron Rebelianta"; side = "civ"; license = "rebel"; level[] = { "", "", -1, "" }; items[] = { { "arifle_TRG20_F", "", 55000, -1 }, { "arifle_Katiba_F", "", 30000, -1 }, { "arifle_AKS_F", "", 50000, -1 }, { "arifle_AKM_F", "", 85250, -1 }, { "arifle_AK12_F", "", 99500, -1 }, { "srifle_DMR_01_F", "", 105000, -1 }, { "srifle_DMR_06_camo_F", "", 120000, -1 }; { "srifle_EBR_F", "", 225000, -1 }, { "LMG_Zafir_F" , "", 385000, -1 }, { "launch_RPG7_F", "", 680000, -1 } }; mags[] = { { "30Rnd_556x45_Stanag", "", 300 }, { "30Rnd_65x39_caseless_green", "", 575 }, { "30Rnd_545x39_Mag_F", "", 175 }, { "30Rnd_762x39_Mag_F", "", 385 }, { "10Rnd_762x54_Mag", "", 525 }, { "20Rnd_762x51_Mag", "", 850 }, { "150Rnd_762x54_Box", "", 1250 }, { "RPG7_F", "", 500000 } }; accs[] = { { "optic_Aco", "", 3500 }, { "optic_Holosight", "", 3500 }, { "optic_MRCO", "", 3500 }, { "optic_Arco", "", 3500 }, { "optic_Hamr", "", 3500 }, { "optic_ERCO_blk_F", "", 3500 }, { "optic_DMS", "", 3500 }, { "acc_flashlight", "", 3500 }, { "acc_pointer_IR", "", 3500 } }; }; class gang { name = "Bron Gangu"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "hgun_ACPC2_F", "", 6500, -1 }, { "hgun_Rook40_F", "", 8250, -1 }, { "hgun_Pistol_heavy_01_F","", 12500, -1}, { "hgun_Pistol_heavy_02_F", "", 19850, -1 }, { "hgun_PDW2000_F", "", 25000, -1 }, { "SMG_01_F","", 28500, -1}, { "SMG_02_F" ,"", 35850, -1} }; mags[] = { { "9Rnd_45ACP_Mag", "", 175 }, { "30Rnd_9x21_Mag", "", 225 }, { "11Rnd_45ACP_Mag", "", 250 }, { "6Rnd_45ACP_Cylinder", "", 325 }, { "30Rnd_45ACP_Mag_SMG_01", "", 350 } }; accs[] = { { "optic_MRD", "", 925 }, { "optic_ACO_grn_smg", "", 1850 } }; }; //Basic Shops class genstore { name = "Sklep Techniczny"; side = "civ"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "Binocular", "", 150, -1 }, { "ItemGPS", "", 100, -1 }, { "ItemMap", "", 50, -1 }, { "ItemCompass", "", 50, -1 }, { "ItemWatch", "", 50, -1 }, { "FirstAidKit", "", 150, -1 }, { "NVGoggles", "", 2000, -1 }, { "Chemlight_red", "", 300, -1 }, { "Chemlight_yellow", "", 300, -1 }, { "Chemlight_green", "", 300, -1 }, { "Chemlight_blue", "", 300, -1 } }; mags[] = {}; accs[] = {}; }; class f_station_store { name = "Sklep Stacja Paliw"; side = ""; license = ""; level[] = { "", "", -1, "" }; items[] = { { "Binocular", "", 750, -1 }, { "ItemGPS", "", 500, -1 }, { "ItemMap", "", 250, -1 }, { "ItemCompass", "", 250, -1 }, { "ItemWatch", "", 250, -1 }, { "FirstAidKit", "", 750, -1 }, { "NVGoggles", "", 10000, -1 }, { "Chemlight_red", "", 1500, -1 }, { "Chemlight_yellow", "", 1500, -1 }, { "Chemlight_green", "", 1500, -1 }, { "Chemlight_blue", "", 1500, -1 } }; mags[] = {}; accs[] = {}; }; //Cop Shops class cop_posterunkowy { name = "POSTERUNKOWY"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 1, "Musisz byc POSTERUNKOWY!" }; items[] = { { "hgun_P07_snds_F", "Paralizator", 2000, -1 }, { "HandGrenade_Stone", "Granat Ogluszajacy", 1700, -1 }, { "SMG_05_F", "", 8500, -1 }, { "arifle_Mk20_F", "", 22500, -1 }, { "Binocular", "", 150, -1 }, { "ItemGPS", "", 100, -1 }, { "FirstAidKit", "", 150, -1 }, { "Item_NVGoggles_OPFOR", "", 2000, -1 } }; mags[] = { { "16Rnd_9x21_Mag", "", 50 }, { "30Rnd_9x21_Mag_SMG_02", "", 125 }, { "30Rnd_556x45_Stanag", "", 200 } }; accs[] = { { "bipod_01_F_blk", "", 175 }, { "muzzle_snds_L", "", 1500 }, { "muzzle_snds_M", "", 2500 }, { "optic_ACO_grn", "", 350 }, { "optic_Holosight_smg_blk_F", "", 1250 }, { "acc_flashlight", "", 500 }, { "acc_pointer_IR", "", 500 } }; }; class cop_starszyposterunkowy { name = "STARSZY POSTERUNKOWY"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 2, "Musisz byc STARSZY POSTERUNKOWY!" }; items[] = { { "arifle_SPAR_01_blk_F", "", 25000, -1 }, { "arifle_MXC_Black_F", "", 35000, -1 }, { "Rangefinder", "", 250, -1 } }; mags[] = { { "30Rnd_556x45_Stanag", "", 200 }, { "30Rnd_65x39_caseless_mag", "", 225 } }; accs[] = { { "muzzle_snds_M", "", 1550, }, { "muzzle_snds_65_TI_blk_F", "", 2500 }, { "bipod_01_F_blk", "", 175 }, { "optic_ACO_grn", "", 350 }, { "optic_Holosight_smg_blk_F", "", 1250 }, { "optic_Aco", "", 3500 }, { "optic_Holosight", "", 3500 }, { "optic_MRCO", "", 3500 }, { "optic_Arco", "", 3500 }, { "optic_Hamr", "", 3500 }, { "optic_ERCO_blk_F", "", 3500 }, { "optic_DMS", "", 3500 }, { "acc_flashlight", "", 3500 }, { "acc_pointer_IR", "", 3500 } }; }; class cop_sierzant { name = "SIERZANT"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 3, "Musisz byc SIERZANT!" }; items[] = { { "arifle_MX_Black_F", "", 17500, -1 }, { "arifle_MXM_Black_F", "", 35000, -1} }; mags[] = { { "30Rnd_65x39_caseless_mag", "", 200 } }; accs[] = { { "muzzle_snds_65_TI_blk_F", "", 2500 }, { "bipod_01_F_blk", "", 175 }, { "optic_ACO_grn", "", 350 }, { "optic_Holosight_smg_blk_F", "", 1250 }, { "optic_Aco", "", 3500 }, { "optic_Holosight", "", 3500 }, { "optic_MRCO", "", 3500 }, { "optic_Arco", "", 3500 }, { "optic_Hamr", "", 3500 }, { "optic_ERCO_blk_F", "", 3500 }, { "optic_DMS", "", 3500 }, { "acc_flashlight", "", 3500 }, { "acc_pointer_IR", "", 3500 } }; }; class cop_starszysierzant { name = "STARSZY SIERZANT"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 4, "Musisz byc STARSZY SIERZANT!" }; items[] = { { "arifle_MX_SW_Black_Hamr_pointer_F", "", 35000, 7500 } }; mags[] = { { "100Rnd_65x39_caseless_mag", "", 130 } }; accs[] = { { "muzzle_snds_65_TI_blk_F", "", 2500 }, { "bipod_01_F_blk", "", 175 }, { "optic_ACO_grn", "", 350 }, { "optic_Holosight_smg_blk_F", "", 1250 }, { "optic_Aco", "", 3500 }, { "optic_Holosight", "", 3500 }, { "optic_MRCO", "", 3500 }, { "optic_Arco", "", 3500 }, { "optic_Hamr", "", 3500 }, { "optic_ERCO_blk_F", "", 3500 }, { "optic_DMS", "", 3500 }, { "acc_flashlight", "", 3500 }, { "acc_pointer_IR", "", 3500 } }; }; class cop_aspirant { name = "ASPIRANT"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 5, "Musisz byc ASPIRANT!" }; items[] = { { "srifle_EBR_F", "", 65000, -1 }, { "srifle_DMR_03_F", "", 70500, -1} }; mags[] = { { "20Rnd_762x51_Mag", "", 130 }, { "20Rnd_762x51_Mag", "", 200 } }; accs[] = { { "muzzle_snds_B", "", 2500 }, { "bipod_01_F_blk", "", 175 }, { "optic_ACO_grn", "", 350 }, { "optic_Holosight_smg_blk_F", "", 1250 }, { "optic_Aco", "", 3500 }, { "optic_Holosight", "", 3500 }, { "optic_MRCO", "", 3500 }, { "optic_Arco", "", 3500 }, { "optic_Hamr", "", 3500 }, { "optic_ERCO_blk_F", "", 3500 }, { "optic_DMS", "", 3500 }, { "acc_flashlight", "", 3500 }, { "acc_pointer_IR", "", 3500 } }; }; class cop_komendant { name = "KOMENDANT"; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 6, "Musisz byc KOMENDANT!" }; items[] = { }; mags[] = { }; accs[] = { }; }; class cop_swat { name = "S.W.A.T."; side = "cop"; license = ""; level[] = { "life_coplevel", "SCALAR", 7, "Musisz byc S.W.A.T!" }; items[] = { { "arifle_SPAR_01_blk_ERCO_Pointer_F", "", 25000, -1 }, { "arifle_MX_RCO_pointer_snds_F", "", 550000, -1 }, { "arifle_MXM_RCO_pointer_snds_F", "", 60000, -1 }, { "srifle_EBR_DMS_pointer_snds_F", "", 135000, -1 } }; mags[] = { { "30Rnd_556x45_Stanag", "", 250 }, { "30Rnd_65x39_caseless_mag", "", 125 }, { "20Rnd_762x51_Mag", "", 130 } }; accs[] = { { "muzzle_snds_M", "", 2500, }, { "muzzle_snds_H", "", 2500, }, { "muzzle_snds_B", "", 2500, }, { "bipod_01_F_blk", "", 175 }, { "optic_ACO_grn", "", 350 }, { "optic_Holosight_smg_blk_F", "", 1250 }, { "optic_Aco", "", 3500 }, { "optic_Holosight", "", 3500 }, { "optic_MRCO", "", 3500 }, { "optic_Arco", "", 3500 }, { "optic_Hamr", "", 3500 }, { "optic_ERCO_blk_F", "", 3500 }, { "optic_DMS", "", 3500 }, { "acc_flashlight", "", 3500 }, { "acc_pointer_IR", "", 3500 } }; }; //Medic Shops class med_basic { name = "store"; side = "med"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "ItemGPS", "", 100, 45 }, { "Binocular", "", 150, -1 }, { "FirstAidKit", "", 150, 65 }, { "NVGoggles", "", 1200, 980 } }; mags[] = {}; accs[] = {}; }; }; ====================================================================================================== Fragment added to stringtable.xml ====================================================================================================== <Key ID="STR_POSTERUNKOWY"> <Original>Posterunkowy</Original> </Key> <Key ID="STR_STARSZY_POSTERUNKOWY"> <Original>Starszy Posterunkowy</Original> </Key> <Key ID="STR_SIERZANT"> <Original>Sierzant</Original> </Key> <Key ID="STR_STARSZY_SIERZANT"> <Original>Starszy Sierzant</Original> </Key> <Key ID="STR_ASPIRANT"> <Original>Aspirant</Original> </Key> <Key ID="STR_KOMENDANT"> <Original>Komendant</Original> </Key> <Key ID="STR_S.W.A.T."> <Original>S.W.A.T.</Original> </Key> </Package> </Project> ==================================================================== init NPC in editor ==================================================================== this enableSimulation false; this addAction[localize"STR_MAR_Cop_Item_Shop",life_fnc_virt_menu,"cop"]; this allowDamage false; this addAction[localize"STR_MAR_Cop_Clothing_Shop",life_fnc_clothingMenu,"cop"]; this addAction[localize"STR_POSTERUNKOWY",life_fnc_weaponShopMenu,"cop_posterunkowy"]; this addAction[localize"STR_STARSZY_POSTERUNKOWY",life_fnc_weaponShopMenu,"cop_starszyposterunkowy"]; this addAction[localize"STR_SIERZANT",life_fnc_weaponShopMenu,"cop_sierzant"]; this addAction[localize"STR_ASPIRANT",life_fns_weaponShopMenu,"cop_aspirant"]; this addAction[localize"STR_KOMENDANT",life_fns_weaponShopMenu,"cop_komendant"]; this addAction[localize"STR_S.W.A.T.",life_fns_weaponShopMenu,"cop_swat"]; this addAction[format["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "cAir" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "cAir" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"cAir",0,false,false,"",' !license_cop_cAir && playerSide isEqualTo west ']; this addAction[format["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "cg" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "cg" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"cg",0,false,false,"",' !license_cop_cg && playerSide isEqualTo west ']; this setObjectTextureGlobal [0,"textures\cop_uniform.jpg"];
×