Moin Leude,ich habe wieder mal ein kleines Problem und zwar habe ich den Ziageretten Mod murshun_cigs, Ja alles schön und gut funktiniert auch super, wenn ich mir die sachen per Infistar gebe.
Wenn ich die in meinen I Shop adde zeigt er mir die nicht an bzw ich kann sie einfach nicht kaufen.
Im RPT wird angezeigt: Scripting command say3D not allowed to execute... habe das aber in der CFGRemote eingetragen
Code
/* Functions for everyone */
F(BIS_fnc_effectKilledAirDestruction,ANYONE)
F(BIS_fnc_effectKilledSecondaries,ANYONE)
F(life_fnc_animSync,ANYONE)
F(life_fnc_broadcast,ANYONE)
F(life_fnc_colorVehicle,ANYONE)
F(life_fnc_corpse,ANYONE)
F(life_fnc_demoChargeTimer,ANYONE)
F(life_fnc_flashbang,ANYONE)
F(life_fnc_jumpFnc,ANYONE)
F(life_fnc_lockVehicle,ANYONE)
F(life_fnc_pulloutVeh,ANYONE)
F(life_fnc_say3D,ANYONE)
F(life_fnc_setFuel,ANYONE)
F(life_fnc_simDisable,ANYONE)
F(SPY_fnc_notifyAdmins,ANYONE)
F(say3d,ANYONE)
F(murshun_cigs_fnc_smoke,ANYONE)
F(murshun_cigs_fnc_start_cig,ANYONE)
F(hideObjectGlobal,ANYONE)
Alles anzeigen
Hier meine Shop Config
C
/*--------------------------------------------------------------------------
Author: Bytex Digital
Website: https://bytex.digital
You're not allowed to use this file without permission from the author!
---------------------------------------------------------------------------*/
// Configuration file for the weaponshop
class maverick_weaponshop_cfg {
cashVar = "life_cash"; //--- Cash Variable
cashSymbol = "$"; //--- Currency Symbol
rotationSpeed = 2; //--- Rotation speed for item in preview (1 - 10)
saveFunction = "[] call SOCK_fnc_updateRequest"; //--- Function to save gear etc. once items are purchased
class localization {
//--- localization for hints etc.
msgParamEmpty = "Shop Parameter is empty!";
msgInVehicle = "You cannot be in a Vehicle!";
msgShopExists = "Shop doesn't Exist!";
msgCondition = "Not permitted to access this Shop!";
msgCashOnHand = "Cash on Hand - %1%2";
msgCartTotal = "Your Cart - %1%2";
msgInfoTooltip = "--> HOLD YOUR LEFT MOUSE BUTTON DOWN WHILE MOVING MOUSE TO ROTATE WEAPON.\n--> DOUBLE CLICK ON AN ITEM IN THE CART TO REMOVE IT.\n--> USE THE 'OVERRIDE GEAR' CHECKBOX TO REPLACE WEAPONS ON HAND WITH PURCHASED WEAPONS.";
msgInfoTooltip2 = "--> DOUBLE CLICK ON AN ITEM IN THE CART TO REMOVE IT.\n--> USE THE 'OVERRIDE GEAR' CHECKBOX TO REPLACE WEAPONS ON HAND WITH PURCHASED WEAPONS.";
msgEmptyShop = "Nothing Found...";
msgInfoText = "<t color='#FFFFFF'>Price:</t> <t color='%1'>%3%2</t>";
msgCartFull = "Cart is Full";
msgCartEmpty = "Cart is Empty";
msgNotEnoughCash = "Not enough Cash for this Transaction";
msgOverrideAlert = "Use the override feature to override gear!";
msgTransactionComplete = "Purchase completed for %1%2";
msgNotEnoughSpace = "You didn't have enough space for all the items. You however only paid for those you had space for!";
msgClear = "Clear";
msgSearch = "Search";
//--- localization for dialogs
#define dialogTabWeapon "Waffen"
#define dialogTabMagazines "Magazine"
#define dialogTabAttachments "Aufsätze"
#define dialogTabOther "Sonstige"
#define dialogAddBtn "Add"
#define dialogOverrideTooltip "Override Gear"
#define dialogCompleteBtn "Complete"
#define dialogCloseBtn "Close"
#define dialogTabOther "Ausrüstung"
};
class shops {
class example_shop {
title = "Police Waffen"; //--- Title of Shop
condition = "call life_coplevel >= 1"; //--- Condition to meet to access shop
simple = 0; //--- Type of GUI 0-Weapon View 1-No Weapon View
maxCart = 9000; //--- Max Amount of Items in Shopping Cart
weapons[] = {
//--- item classname, price, condition, custom display name
{"DDOPP_X26_b", 500, "call life_coplevel >= 1", "Police Taser"},
{"CUP_hgun_Glock17_blk", 3000, "call life_coplevel >= 1", "Handfeuerwaffe G17"},
{"CUP_arifle_Colt727", 10000, "call life_coplevel >= 1", "M16 Colt"},
{"CUP_smg_MP5A5", 3000, "call life_coplevel >= 1", ""}
};
magazines[] = {
{"DDOPP_1Rnd_X26", 20, "call life_coplevel >= 1", "Taser Magazine"},
{"CUP_17Rnd_9x19_glock17", 50, "call life_coplevel >= 1", "G17 Magazine"},
{"CUP_30Rnd_556x45_Stanag", 50, "call life_coplevel >= 1", "M16 Colt Magazine"},
{"CUP_30Rnd_9x19_MP5", 50, "call life_coplevel >= 1", "MP5 Munition"}
};
attachments[] = {
{"optic_Aco", 50, "call life_coplevel >= 1", "Scope 1"},
{"optic_Arco", 50, "call life_coplevel >= 1", "Scope 2"},
{"optic_NVS", 50, "call life_coplevel >= 1", "Scope 3"},
{"acc_flashlight", 1500, "call life_coplevel >= 1", ""}
};
items[] = {
{"Binocular", 50, "call life_coplevel >= 1", ""},
{"NVGoggles", 100, "call life_coplevel >= 1", ""},
{"ItemGPS", 100, "call life_coplevel >= 1", ""},
{"ACE_CableTie", 100, "call life_coplevel >= 1", ""},
{"ACE_EarPlugs", 100, "call life_coplevel >= 1", ""},
{"ACE_fieldDressing", 100, "call life_coplevel >= 1", ""},
{"ACE_elasticBandage", 100, "call life_coplevel >= 1", ""},
{"ACE_packingBandage", 100, "call life_coplevel >= 1", ""},
{"pmc_earpiece", 100, "call life_coplevel >= 1", ""},
{"murshun_cigs_cigpackItem", 300, "true", ""},
{"murshun_cigs_lighterItem", 300, "true", ""},
{"ItemCopCard", 100, "call life_coplevel >= 1", ""}
};
};
class doj_shop {
title = "Doj Waffen"; //--- Title of Shop
condition = "license_cop_doj"; //--- Condition to meet to access shop
simple = 0; //--- Type of GUI 0-Weapon View 1-No Weapon View
maxCart = 9000; //--- Max Amount of Items in Shopping Cart
weapons[] = {
//--- item classname, price, condition, custom display name
{"DDOPP_X26_b", 500, "call life_coplevel >= 1", "Police Taser"},
{"CUP_hgun_Glock17_blk", 3000, "call life_coplevel >= 1", "Handfeuerwaffe G17"},
{"CUP_smg_MP5A5", 3000, "call life_coplevel >= 1", ""}
};
magazines[] = {
{"DDOPP_1Rnd_X26", 20, "call life_coplevel >= 1", "Taser Magazine"},
{"CUP_17Rnd_9x19_glock17", 50, "call life_coplevel >= 1", "G17 Magazine"},
{"CUP_30Rnd_9x19_MP5", 50, "call life_coplevel >= 1", "MP5 Munition"}
};
attachments[] = {
{"optic_Aco", 50, "call life_coplevel >= 1", "Scope 1"},
{"optic_Arco", 50, "call life_coplevel >= 1", "Scope 2"},
{"optic_NVS", 50, "call life_coplevel >= 1", "Scope 3"},
{"acc_flashlight", 1500, "call life_coplevel >= 1", ""}
};
items[] = {
{"Binocular", 50, "call life_coplevel >= 1", ""},
{"NVGoggles", 100, "call life_coplevel >= 1", ""},
{"ItemGPS", 100, "call life_coplevel >= 1", ""},
{"ACE_CableTie", 100, "call life_coplevel >= 1", ""},
{"ACE_EarPlugs", 100, "call life_coplevel >= 1", ""},
{"ACE_fieldDressing", 100, "call life_coplevel >= 1", ""},
{"ACE_elasticBandage", 100, "call life_coplevel >= 1", ""},
{"ACE_packingBandage", 100, "call life_coplevel >= 1", ""},
{"pmc_earpiece", 100, "call life_coplevel >= 1", ""},
{"murshun_cigs_CigpackItem", 300, "true", ""},
{"murshun_cigs_lighterItem", 300, "true", ""},
{"ItemCopCard", 100, "call life_coplevel >= 1", ""}
};
};
class Civ {
title = "Baumarkt"; //--- Title of Shop
condition = "true"; //--- Condition to meet to access shop
simple = 0; //--- Type of GUI 0-Weapon View 1-No Weapon View
maxCart = 9000; //--- Max Amount of Items in Shopping Cart
items[] = {
{"Binocular", 50, "true", ""},
{"NVGoggles", 500, "true", ""},
{"ACE_elasticBandage", 500, "true", ""},
{"ACE_packingBandage", 500, "true", ""},
{"ItemGPS", 199, "true", ""},
{"axe", 300, "true", ""},
{"pickaxe", 300, "true", ""},
{"murshun_cigs_cigpackItem", 300, "true", ""},
{"murshun_cigs_lighterItem", 300, "true", ""},
{"pmc_earpiece", 800, "true", ""}
};
magazines[] = {
{"murshun_cigs_cigpackItem", 300, "true", ""},
{"murshun_cigs_lighterItem", 300, "true", ""}
};
};
class Reb {
title = "Rebellen Ausrüstung"; //--- Title of Shop
condition = "license_civ_rebel"; //--- Condition to meet to access shop
simple = 0; //--- Type of GUI 0-Weapon View 1-No Weapon View
maxCart = 9000; //--- Max Amount of Items in Shopping Cart
weapons[] = {
{"CUP_hgun_Glock17_blk", 50000, "license_civ_rebel", ""},
{"hgun_Pistol_01_F", 30000, "license_civ_rebel", ""},
{"CUP_hgun_TaurusTracker455", 70000, "license_civ_rebel", ""},
{"CUP_hgun_MicroUzi", 3000, "license_civ_rebel", ""}
};
magazines[] = {
{"CUP_17Rnd_9x19_glock17", 5000, "license_civ_rebel", ""},
{"CUP_30Rnd_556x45_Stanag", 4000, "license_civ_rebel", ""},
{"CUP_6Rnd_45ACP_M", 10000, "license_civ_rebel", ""},
{"10Rnd_9x21_Mag", 10000, "license_civ_rebel", ""},
{"CUP_30Rnd_9x19_UZI", 10000, "license_civ_rebel", ""}
};
attachments[] = {
{"optic_Hamr", 20000, "license_civ_rebel", "Scope 1"},
{"optic_Arco", 20000, "license_civ_rebel", "Scope 2"},
{"optic_Aco", 20000, "license_civ_rebel", "Scope 3"},
{"muzzle_snds_L", 50000, "license_civ_rebel", ""},
{"CUP_muzzle_snds_M9", 50000, "license_civ_rebel", ""}
};
items[] = {
{"Binocular", 50, "license_civ_rebel", ""},
{"NVGoggles", 100, "license_civ_rebel", ""},
{"ItemGPS", 199, "true", ""},
{"ACE_CableTie", 20000, "license_civ_rebel", ""},
{"ACE_EarPlugs", 1000, "license_civ_rebel", ""},
{"ACE_fieldDressing", 1000, "license_civ_rebel", ""},
{"ACE_elasticBandage", 1000, "license_civ_rebel", ""},
{"ACE_key_lockpick", 50000, "license_civ_rebel", ""},
{"murshun_cigs_cigpackItem", 300, "true", ""},
{"murshun_cigs_lighterItem", 300, "true", ""},
{"pmc_earpiece", 300, "license_civ_rebel", ""}
};
};
class medic {
title = "Medizinische Ausrüstung"; //--- Title of Shop
condition = "call life_mediclevel >= 1"; //--- Condition to meet to access shop
simple = 0; //--- Type of GUI 0-Weapon View 1-No Weapon View
maxCart = 9000; //--- Max Amount of Items in Shopping Cart
weapons[] = {
//--- item classname, price, condition, custom display name
};
magazines[] = {
};
attachments[] = {
{"ACE_EarPlugs", 50, "call life_medlevel >= 1", "Funk Attachment"},
{"ItemEmsCard", 50, "call life_medlevel >= 1", "EMS Zugangskarte"},
{"ACE_Track", 1500, "call life_mediclevel >= 1", ""},
{"ItemGPS", 199, "true", ""},
{"ACE_Wheel", 1500, "call life_mediclevel >= 1", ""},
{"ACE_key_master", 1500, "call life_mediclevel >= 1", ""},
{"ACE_key_lockpick", 1500, "call life_mediclevel >= 1", ""},
{"murshun_cigs_cigpackItem", 300, "true", ""},
{"murshun_cigs_lighterItem", 300, "true", ""},
{"pmc_earpiece", 100, "call life_mediclevel >= 1", ""}
};
items[] = {
{"Binocular", 50, "call life_mediclevel >= 1", ""},
{"NVGoggles", 100, "call life_mediclevel >= 1", ""},
{"ACE_atropine", 100, "call life_mediclevel >= 1", ""},
{"ACE_fieldDressing", 100, "call life_mediclevel >= 1", ""},
{"ACE_elasticBandage", 100, "call life_mediclevel >= 1", ""},
{"ACE_quikclot", 100, "call life_mediclevel >= 1", ""},
{"ACE_bloodIV", 100, "call life_mediclevel >= 1", ""},
{"ACE_bloodIV_500", 100, "call life_mediclevel >= 1", ""},
{"ACE_bloodIV_250", 100, "call life_mediclevel >= 1", ""},
{"ACE_bodyBag", 100, "call life_mediclevel >= 1", ""},
{"ACE_bodyBagObject", 100, "call life_mediclevel >= 1", ""},
{"ACE_epinephrine", 100, "call life_mediclevel >= 1", ""},
{"ACE_morphine", 100, "call life_mediclevel >= 1", ""},
{"ACE_packingBandage", 100, "call life_mediclevel >= 1", ""},
{"ACE_personalAidKit", 100, "call life_mediclevel >= 1", ""},
{"ACE_plasmaIV", 100, "call life_mediclevel >= 1", ""},
{"ACE_plasmaIV_500", 100, "call life_mediclevel >= 1", ""},
{"ACE_plasmaIV_250", 100, "call life_mediclevel >= 1", ""},
{"ACE_salineIV", 100, "call life_mediclevel >= 1", ""},
{"ACE_salineIV_500", 100, "call life_mediclevel >= 1", ""},
{"ACE_salineIV_250", 100, "call life_mediclevel >= 1", ""},
{"ACE_surgicalKit", 100, "call life_mediclevel >= 1", ""},
{"ACE_tourniquet", 100, "call life_mediclevel >= 1", ""}
};
};
};
};
#include "gui\weapon_gui_master.cpp"
Alles anzeigen
Das wird mir ingame angezeigt wenn ich auf die Items klicke.