poste mal deine weaponcfg
Waffen Shop Level Abfragen 4.4 und 4.4R3
-
- Altis Life
-
br1zey -
9. Juli 2016 um 20:00
-
-
Code
Alles anzeigen//COP-Rekruten class cop_basic { name = "Tanoa Cop Shop"; side = "cop"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "arifle_sdar_F", "Taser Rifle", 20000, 7500 }, { "hgun_P07_snds_F", "Stun Pistol", 2000, 650 }, { "launch_NLAW_F", "PCML", 20000, 650, "call life_coplevel >= 32" }, { "arifle_MXC_F", "", 15000, 7500 }, { "srifle_EBR_F", "", 30000, -1 }, { "hgun_P07_F", "", 7500, 1500 }, { "HandGrenade_Stone", "Flashbang", 1700, -1 }, { "B_IR_Grenade", "", 150, -1 }, { "HandGrenade", "", 150, -1 }, { "Binocular", "", 150, -1 }, { "ItemGPS", "", 100, 45 }, { "FirstAidKit", "", 150, 65 }, { "Item_B_UavTerminal", "", 150, 65 }, { "NVGoggles", "", 2000, 980 } }; mags[] = { { "16Rnd_9x21_Mag", "", 25 }, { "20Rnd_556x45_UW_mag", "Taser Rifle Magazine", 45 }, { "20Rnd_762x51_Mag", "", 130 }, { "NLAW_F", "", 2000 }, { "ATMine_Range_Mag", "", 130 }, { "IEDUrbanBig_Remote_Mag", "", 130 }, { "30Rnd_65x39_caseless_mag", "", 130 }, { "30Rnd_65x39_caseless_mag_Tracer", "", 130 }, { "30Rnd_9x21_Mag", "", 250 } }; accs[] = { { "optic_ACO_grn", "", 3500 }, { "optic_Holosight", "", 3600 }, { "optic_Holosight_khk_F", "", 7500 }, { "bipod_01_F_khk", "", 7500 }, { "muzzle_snds_B", "", 7500 }, { "muzzle_snds_H", "", 7500 }, { "muzzle_snds_L", "", 7500 }, { "muzzle_snds_M", "", 7500 }, { "muzzle_snds_H_MG", "", 7500 }, { "optic_Arco", "", 7500 }, { "optic_Hamr", "", 7500 }, { "optic_Holosight", "", 7500 }, { "optic_SOS", "", 7500 }, { "acc_flashlight", "", 7500 }, { "acc_pointer_IR", "", 7500 }, { "optic_MRCO", "", 7500 }, { "muzzle_snds_acp", "", 7500 }, { "optic_NVS", "", 7500 }, { "optic_Nightstalker", "", 7500 }, { "optic_tws", "", 7500 }, { "optic_tws_mg", "", 7500 }, { "optic_DMS", "", 7500 }, { "optic_Yorris", "", 7500 }, { "optic_MRD", "", 7500 }, { "optic_LRPS", "", 7500 }, { "optic_AMS", "", 7500 }, { "optic_KHS_blk", "", 7500 }, { "optic_LRPS_tna_F", "", 7500 }, { "optic_tws", "", 7500 }, { "acc_flashlight", "", 1000 } }; };
-
Sorry war die Falsche
Code
Alles anzeigenclass cop_basic { name = "Tanoa Cop Shop"; side = "cop"; license = ""; level[] = { "", "", -1, "" }; items[] = { { "arifle_sdar_F", "Taser Rifle", 20000, 7500 }, { "hgun_P07_snds_F", "Stun Pistol", 2000, 650 }, { "launch_NLAW_F", "PCML", 20000, 650, { "life_coplevel", 7 } }, { "arifle_MXC_F", "", 15000, 7500 }, { "hgun_P07_F", "", 7500, 1500 }, { "HandGrenade_Stone", "Flashbang", 1700, -1 }, { "B_IR_Grenade", "", 150, -1 }, { "HandGrenade", "", 150, -1 }, { "Binocular", "", 150, -1 }, { "ItemGPS", "", 100, 45 }, { "FirstAidKit", "", 150, 65 }, { "I_B_UavTerminal", "", 150, 65 }, { "NVGoggles", "", 2000, 980 }, { "arifle_TRG20_F", "", 25000, 2500 }, //TRG { "arifle_Katiba_F", "", 30000, 5000 }, //Katiba { "srifle_DMR_01_F", "", 50000, 5000 }, //Rahim { "srifle_DMR_02_camo_F", "", 500000, 250000 }, //MAR-10 { "srifle_DMR_03_F", "", 500000, 250000 }, //MK-1emr { "arifle_SDAR_F", "", 20000, 7500 }, //SDAR { "LMG_Zafir_F", "", 450000, 225000 }, //Zafir { "srifle_EBR_F", "", 350000, 175000 { "life_coplevel", 6 } }, //MK18 { "launch_RPG7_F", "", 1500000, 750000 }, //RPG-7 { "srifle_DMR_04_Tan_F", "", 350000, 175000 }, //ASP { "srifle_DMR_05_hex_F", "", 500000, 250000 }, //Cyrus { "srifle_DMR_05_tan_f", "", 500000, 250000 }, //Cyrus { "srifle_DMR_06_camo_F", "", 500000, 250000 }, //MK14 { "srifle_DMR_06_olive_F", "", 500000, 250000 }, //MK14 { "srifle_DMR_07_blk_F", "", 300000, 150000 }, //CMR { "LMG_03_F", "", 500000, 250000 }, //LIM { "arifle_AKM_F", "", 100000, 50000 } //AKM };
-
Komme gerade nicht an die Orginale 4.4er ran, aber müsstest du nicht den wert aus der Variablen holen?
-
Wie meinst du das?
-
Also von welcher Variabel?
-
na vom coplevel also per "call coplevel >=7"
-
Das habe ich auch schon versucht und geklappt hat es nur bei den Kleidungen
-
Hast Du mal in die Orginale Weaponcfg geschaut? Normalerweise sind dort immer Beispiele drin.
-
Ich schaue mal muss den Server kurz neu installieren.
-
Habe es herausgefunden
Code
Alles anzeigenclass cop_basic { name = "Altis Cop Shop"; side = "cop"; conditions = ""; items[] = { { "Binocular", "", 150, -1, "" }, { "ItemGPS", "", 100, 45, "" }, { "FirstAidKit", "", 150, 65, "" }, { "NVGoggles", "", 2000, 980, "" }, { "HandGrenade_Stone", "Flashbang", 1700, -1, "" }, { "hgun_P07_snds_F", "Stun Pistol", 2000, 650, "" }, { "arifle_sdar_F", "Taser Rifle", 20000, 7500, "" }, { "hgun_P07_F", "", 7500, 1500, "" }, { "SMG_02_ACO_F", "", 30000, -1, "call life_coplevel >= 2" }, { "arifle_MX_F", "", 35000, 7500, "call life_coplevel >= 2" }, { "hgun_ACPC2_F", "", 17500, -1, "call life_coplevel >= 3" }, { "arifle_MXC_F", "", 30000, 5000, "call life_coplevel >= 3" } }; mags[] = { { "16Rnd_9x21_Mag", "", 25, 100, "" }, { "20Rnd_556x45_UW_mag", "Taser Rifle Magazine", 45, 100, "" }, { "30Rnd_65x39_caseless_mag", "", 130, 100, "" }, { "30Rnd_9x21_Mag", "", 250, 100, "call life_coplevel >= 2" }, { "9Rnd_45ACP_Mag", "", 200, 100, "call life_coplevel >= 3" } }; accs[] = { { "muzzle_snds_L", "", 650, 100, "" }, { "acc_flashlight", "", 750, 100, "call life_coplevel >= 2" }, { "optic_Holosight", "", 1200, 100, "call life_coplevel >= 2" }, { "optic_Arco", "", 2500, 100, "call life_coplevel >= 2" }, { "muzzle_snds_H", "", 2750, 100, "call life_coplevel >= 2" }, { "optic_MRD", "", 2750, 100, "call life_coplevel >= 2" } }; };
-
Sry für die Dumme frage aber wie muss die Init dann aussehen die Init dann einfach so lassen oder alle Cops Shops raus löschen ausser einen oder wie Sry bin afnänger wäre aber trz. nett wenn mir jemand helfen könnte
-
Du kannst Di änderungen direkt im COP Shop machen. Einen extra Shop musst Du dafür nicht anlegen.
-
Naja wegen der Init soll ich die dann so belassen oder muss ich da was ändern wie gesagt bin neu im Scripten hoffe das ist nicht schlimm
-
Liegt das am Script das wenn man jetzt Magazine kauft der Aufsätze Button verschwindet?
-