Du sagtest, Button im Z- Menü einfügen. Bin leider neu in dem ganzen hier, wo macht man das? In welcher Datei, welchen Pfad? Will meinen Server nicht zerstören
Danke im Voraus
Du sagtest, Button im Z- Menü einfügen. Bin leider neu in dem ganzen hier, wo macht man das? In welcher Datei, welchen Pfad? Will meinen Server nicht zerstören
Danke im Voraus
unter
das einfügen
Ich bekomme leider eine Fehlermeldung...
Could not load 'TheLastGamer\helpmenu'. Extension not listed in allowedPreprocessFileExtensions
Wobei der Ordner im Missionsordner liegt
hoffe doch nicht mpmission\TheLastGamer\helpmenu
ich habe es im mpmission\Altis_Life.Altes\TheLastGamer\helpmenu
verstehe gerade nicht was es mit allowedPreprocessFileExtensions auf sich hat.
Weil nichts Preprocessed wird
Naja in seinem TheLastGamer Ordner hat er wohl irgendwas, was das versucht zu processen. Wie da steht eine Extrension für die dort enthaltenen Files, also... scheinbar. Und der Missionsordner ist bei dir AltisLife.Altis, also muss auch dort direkt der Unterordner helpmenu sein. Das sollte das Problem bereinigen. Außer du hast dein Framework irgendwie in den anderen Ordner verwurschtelt.
Wenn ich das richtig sehe fehlt einfach nur die Dateiendung, wodurch Arma keine Erlaubnis hat das aufzurufen. Also Dateiendung vrsl. .hpp anfügen und dann sollte das gehen.
Speedo ich kenne das System und helpmenu ist ein Ordner, also ist das schon richtig. Aber alle Pfade der Dateien greifen auf die Ordnerstruktur Mission.Alits(oder wie auch immer/helpmenu zu.
Hi, dies ist wirklich ein tolles script nur bekomme ich immer wieder einen fehler, weiß einer von euch was ich ändern muss?
File mpmissions\__cur_mp.Altis\description.ext, line 169: /CfgFunctions/: Missing '}'
hier noch die RPT Log
Schicke hier mal die description.ext rein
Die Datei ging leider nicht.
Da habe ich den inhalt hier gesendet.
disableChannels[] = {{0,true,true},{1,true,true},{2,true,true}}; // Disabled text and voice for global, side, and command channels. Syntax: disableChannels[] = {{channelID<number>, disableChat<bool>, disableVoice<bool>}};
overviewText = "$STR_MISC_overviewText"; // Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play.
#include "config\Config_SpyGlass.hpp"
#include "CfgRemoteExec.hpp"
#include "dialog\MasterHandler.hpp"
#include "config\Config_Master.hpp"
class CfgServer {
DatabaseName = "altislife"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife]
DebugMode = 0; //Enable many server/hc debugging logs. Default: 0 (1 = Enabled / 0 = Disabled)
HeadlessSupport = 0; //Enable/Disable Headless client support. Default: 1 (1 = Enabled / 0 = Disabled)
/*
Enabled: When HeadlessSupport is set to 1 (enabled), the server will run without fault when no Headless Client is connected. However, it will support the Headless Client if you choose to connect one.
Disabled: If HeadlessSupport is set to 0 (disabled), the connection of a Headless Client will make no difference. This option will increase server performance a TINY but negligible amount.
*/
};
class RscTitles {
#include "dialog\progress.hpp"
#include "dialog\hud_nameTags.hpp"
#include "dialog\hud_stats.hpp"
};
class CfgFunctions {
#include "Functions.hpp"
};
class CfgSounds {
sounds[] = {};
class sirenLong {
name = "sirenLong";
sound[] = {"\sounds\sirenLong.ogg", 1.0, 1};
titles[] = {};
};
class medicSiren {
name = "medicSiren";
sound[] = {"\sounds\medicSiren.ogg", 1.0, 1};
titles[] = {};
};
class tazerSound {
name = "tazerSound";
sound[] = {"\sounds\tazer.ogg", 0.25, 1};
titles[] = {};
};
class flashbang {
name = "flashbang";
sound[] = {"\sounds\flashbang.ogg", 1.0, 1};
titles[] = {};
};
class mining {
name = "mining";
sound[] = {"\sounds\mining.ogg", 1.0, 1};
titles[] = {};
};
class harvest {
name = "harvest";
sound[] = {"\sounds\harvest.ogg", 1.0, 1};
titles[] = {};
};
class lockCarSound {
name = "lockCarSound";
sound[] = {"\sounds\carLock.ogg", 0.25, 1};
titles[] = {};
};
class unlockCarSound {
name = "unlockCarSound";
sound[] = {"\sounds\carUnlock.ogg", 0.25, 1};
titles[] = {};
};
};
class CfgDebriefing {
class NotWhitelisted {
title = "$STR_NotWhitelisted_Title";
subtitle = "$STR_NotWhitelisted_SubTitle";
description = "$STR_NotWhitelisted_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
class Blacklisted {
title = "$STR_Blacklisted_Title";
subtitle = "$STR_Blacklisted_SubTitle";
description = "$STR_Blacklisted_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
class SpyGlass {
title = "$STR_SpyDetect_Title";
subTitle = "$STR_SpyDetect_SubTitle";
description = "$STR_SpyDetect_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
};
class CfgNotifications {
class MedicalRequestEmerg {
title = "$STR_MedicalRequestEmerg_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "%1";
duration = 5;
priority = 7;
};
class DeliveryAssigned {
title = "$STR_DeliveryAssigned_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "%1";
duration = 10;
priority = 7;
};
class DeliveryFailed {
title = "$STR_DeliveryFailed_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskiconfailed_ca.paa";
description = "%1";
duration = 7;
priority = 7;
};
class DeliverySucceeded {
title = "$STR_DeliverySucceeded_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcondone_ca.paa";
description = "%1";
duration = 6;
priority = 6;
};
class TextMessage {
title = "$STR_TextMessage_Title";
iconPicture = "icons\ico_messageNew.paa";
description = "%1";
duration = 10;
priority = 6;
};
class PoliceDispatch {
title = "$STR_PoliceDispatch_Title";
iconPicture = "icons\ico_messagePolice.paa";
description = "%1";
duration = 10;
priority = 6;
};
class AdminDispatch {
title = "$STR_AdminDispatch_Title";
iconPicture = "icons\ico_messageAdmin.paa";
description = "%1";
duration = 10;
priority = 6;
};
class AdminMessage {
title = "$STR_AdminMessage_Title";
iconPicture = "icons\ico_messageAdmin.paa";
description = "%1";
duration = 10;
priority = 5;
};
};
Alles anzeigen
Lade mal deine Functions.hpp hier hoch
Functions.sqf habe statt hpp sqf genommen da sie sonst nicht hochgeladen werden konnte
Jetzt sollte es klappen, du hattest eine Klammer "}" vergessen.
class Socket_Reciever {
tag = "SOCK";
class SQL_Socket {
file = "core\session";
class dataQuery {};
class insertPlayerInfo {};
class requestReceived {};
class syncData {};
class updatePartial {};
class updateRequest {};
};
};
class SpyGlass {
tag = "SPY";
class Functions {
file = "SpyGlass";
class cookieJar{};
class notifyAdmins{};
class observe{};
};
};
class Life_Client_Core {
tag = "life";
class Master_Directory {
file = "core";
class initCiv {};
class initCop {};
class initMedic {};
class setupActions {};
class setupEVH {};
class survival {};
class welcomeNotification {};
};
class Actions {
file = "core\actions";
class arrestAction {};
class buyLicense {};
class captureHideout {};
class catchFish {};
class dpFinish {};
class dropFishingNet {};
class escortAction {};
class gather {};
class getDPMission {};
class gutAnimal {};
class healHospital {};
class impoundAction {};
class mine {};
class newsBroadcast {};
class packupSpikes {};
class pickupItem {};
class pickupMoney {};
class postBail {};
class processAction {};
class pulloutAction {};
class putInCar {};
class removeContainer {};
class repairTruck {};
class restrainAction {};
class robAction {};
class searchAction {};
class searchVehAction {};
class seizePlayerAction {};
class serviceChopper {};
class stopEscorting {};
class storeVehicle {};
class surrender {};
class ticketAction {};
class unrestrain {};
};
class Admin {
file = "core\admin";
class adminCompensate {};
class adminDebugCon {};
class adminFreeze {};
class admingetID {};
class adminGodMode {};
class adminid {};
class admininfo {};
class adminMarkers {};
class adminMenu {};
class adminQuery {};
class adminSpectate {};
class adminTeleport {};
class adminTpHere {};
};
class Civilian {
file = "core\civilian";
class civLoadout {};
class civMarkers {};
class demoChargeTimer {};
class freezePlayer {};
class jail {};
class jailMe {};
class knockedOut {};
class knockoutAction {};
class removeLicenses {};
class robPerson {};
class robReceive {};
class tazed {};
};
class Config {
file = "core\config";
class houseConfig {};
class itemWeight {};
class vehicleAnimate {};
class vehicleWeightCfg {};
};
class Cop {
file = "core\cop";
class bountyReceive {};
class containerInvSearch {};
class copInteractionMenu {};
class copLights {};
class copLoadout {};
class copMarkers {};
class copSearch {};
class copSiren {};
class doorAnimate {};
class fedCamDisplay {};
class licenseCheck {};
class licensesRead {};
class questionDealer {};
class radar {};
class repairDoor {};
class restrain {};
class searchClient {};
class seizeClient {};
class sirenLights {};
class spikeStripEffect {};
class ticketGive {};
class ticketPaid {};
class ticketPay {};
class ticketPrompt {};
class vehInvSearch {};
class wantedGrab {};
};
class Dialog_Controls {
file = "dialog\function";
class bankDeposit {};
class bankTransfer {};
class bankWithdraw {};
class displayHandler {};
class gangDeposit {};
class gangWithdraw {};
class garageLBChange {};
class impoundMenu {};
class progressBar {};
class safeFix {};
class safeInventory {};
class safeOpen {};
class safeTake {};
class sellGarage {};
class setMapPosition {};
class spawnConfirm {};
class spawnMenu {};
class spawnPointCfg {};
class spawnPointSelected {};
class unimpound {};
class vehicleGarage {};
class wireTransfer {};
};
class Functions {
file = "core\functions";
class AAN {};
class accType {};
class actionKeyHandler {};
class animSync {};
class calWeightDiff {};
class clearVehicleAmmo {};
class dropItems {};
class escInterupt {};
class fetchCfgDetails {};
class fetchDeadGear {};
class fetchVehInfo {};
class isDamaged {};
class giveDiff {};
class handleDamage {};
class handleInv {};
class handleItem {};
class hideObj {};
class hudSetup {};
class hudUpdate {};
class inventoryClosed {};
class inventoryOpened {};
class isUIDActive {};
class keyHandler {};
class loadDeadGear {};
class loadGear {};
class nearATM {};
class nearestDoor {};
class nearUnits {};
class numberText {};
class onFired {};
class onTakeItem {};
class playerSkins {};
class playerTags {};
class postNewsBroadcast {};
class pullOutVeh {};
class pushObject {};
class receiveItem {};
class receiveMoney {};
class revealObjects {};
class saveGear {};
class searchPosEmpty {};
class simDisable {};
class stripDownPlayer {};
class tazeSound {};
class teleport {};
class whereAmI {};
};
class Gangs {
file = "core\gangs";
class createGang {};
class gangCreated {};
class gangDisband {};
class gangDisbanded {};
class gangInvite {};
class gangInvitePlayer {};
class gangKick {};
class gangLeave {};
class gangMenu {};
class gangNewLeader {};
class gangUpgrade {};
class initGang {};
};
class Housing {
file = "core\housing";
class buyHouse {};
class buyHouseGarage {};
class containerMenu {};
class copBreakDoor {};
class copHouseOwner {};
class garageRefund {};
class getBuildingPositions {};
class houseMenu {};
class initHouses {};
class lightHouse {};
class lightHouseAction {};
class lockHouse {};
class lockupHouse {};
class placeContainer {};
class PlayerInBuilding {};
class raidHouse {};
class sellHouse {};
class sellHouseGarage {};
};
class Items {
file = "core\items";
class blastingCharge {};
class boltcutter {};
class defuseKit {};
class flashbang {};
class jerrycanRefuel {};
class jerryRefuel {};
class lockpick {};
class placestorage {};
class spikeStrip {};
class storageBox {};
};
class Medical_System {
file = "core\medical";
class deathScreen {};
class medicLights {};
class medicLoadout {};
class medicMarkers {};
class medicRequest {};
class medicSiren {};
class medicSirenLights {};
class onPlayerKilled {};
class onPlayerRespawn {};
class requestMedic {};
class respawned {};
class revived {};
class revivePlayer {};
};
class Network {
file = "core\functions\network";
class broadcast {};
class corpse {};
class jumpFnc {};
class say3D {};
class setFuel {};
class soundDevice {};
};
class Player_Menu {
file = "core\pmenu";
class cellphone {};
class giveItem {};
class giveMoney {};
class keyDrop {};
class keyGive {};
class keyMenu {};
class p_openMenu {};
class p_updateMenu {};
class pardon {};
class removeItem {};
class s_onChar {};
class s_onCheckedChange {};
class s_onSliderChange {};
class settingsMenu {};
class updateViewDistance {};
class useItem {};
class wantedAddP {};
class wantedInfo {};
class wantedList {};
class wantedMenu {};
};
class Shops {
file = "core\shops";
class atmMenu {};
class buyClothes {};
class changeClothes {};
class chopShopMenu {};
class chopShopSelection {};
class chopShopSell {};
class clothingFilter {};
class clothingMenu {};
class fuelLBchange {};
class fuelStatOpen {};
class levelCheck {};
class vehicleShop3DPreview {};
class vehicleShopBuy {};
class vehicleShopEnd3DPreview {};
class vehicleShopInit3DPreview {};
class vehicleShopLBChange {};
class vehicleShopMenu {};
class virt_buy {};
class virt_menu {};
class virt_sell {};
class virt_update {};
class weaponShopAccs {};
class weaponShopBuySell {};
class weaponShopFilter {};
class weaponShopMags {};
class weaponShopMenu {};
class weaponShopSelection {};
};
class Vehicle {
file = "core\vehicle";
class addVehicle2Chain {};
class colorVehicle {};
class deviceMine {};
class FuelRefuelcar {};
class fuelStore {};
class fuelSupply {};
class lockVehicle {};
class openInventory {};
class vehiclecolor3DRefresh {};
class vehicleOwners {};
class vehicleWeight {};
class vehInventory {};
class vehStoreItem {};
class vehTakeItem {};
class vInteractionMenu {};
};
class TLG_Client {
tag = "TLG_Client";
class helpmenu {
file = "TheLastGamer\helpmenu";
#include "TheLastGamer\helpmenu\CfgFunctions.hpp"
};
};
};
Alles anzeigen
Wegen einer klammer so ein aufwand :O
Vielen dank für die Hilfe
Alles anzeigenDie Datei ging leider nicht.
Da habe ich den inhalt hier gesendet.
disableChannels[] = {{0,true,true},{1,true,true},{2,true,true}}; // Disabled text and voice for global, side, and command channels. Syntax: disableChannels[] = {{channelID<number>, disableChat<bool>, disableVoice<bool>}};
overviewText = "$STR_MISC_overviewText"; // Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play.
#include "config\Config_SpyGlass.hpp"
#include "CfgRemoteExec.hpp"
#include "dialog\MasterHandler.hpp"
#include "config\Config_Master.hpp"
class CfgServer {
DatabaseName = "altislife"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife]
DebugMode = 0; //Enable many server/hc debugging logs. Default: 0 (1 = Enabled / 0 = Disabled)
HeadlessSupport = 0; //Enable/Disable Headless client support. Default: 1 (1 = Enabled / 0 = Disabled)
/*
Enabled: When HeadlessSupport is set to 1 (enabled), the server will run without fault when no Headless Client is connected. However, it will support the Headless Client if you choose to connect one.
Disabled: If HeadlessSupport is set to 0 (disabled), the connection of a Headless Client will make no difference. This option will increase server performance a TINY but negligible amount.
*/
};
class RscTitles {
#include "dialog\progress.hpp"
#include "dialog\hud_nameTags.hpp"
#include "dialog\hud_stats.hpp"
};
class CfgFunctions {
#include "Functions.hpp"
};
class CfgSounds {
sounds[] = {};
class sirenLong {
name = "sirenLong";
sound[] = {"\sounds\sirenLong.ogg", 1.0, 1};
titles[] = {};
};
class medicSiren {
name = "medicSiren";
sound[] = {"\sounds\medicSiren.ogg", 1.0, 1};
titles[] = {};
};
class tazerSound {
name = "tazerSound";
sound[] = {"\sounds\tazer.ogg", 0.25, 1};
titles[] = {};
};
class flashbang {
name = "flashbang";
sound[] = {"\sounds\flashbang.ogg", 1.0, 1};
titles[] = {};
};
class mining {
name = "mining";
sound[] = {"\sounds\mining.ogg", 1.0, 1};
titles[] = {};
};
class harvest {
name = "harvest";
sound[] = {"\sounds\harvest.ogg", 1.0, 1};
titles[] = {};
};
class lockCarSound {
name = "lockCarSound";
sound[] = {"\sounds\carLock.ogg", 0.25, 1};
titles[] = {};
};
class unlockCarSound {
name = "unlockCarSound";
sound[] = {"\sounds\carUnlock.ogg", 0.25, 1};
titles[] = {};
};
};
class CfgDebriefing {
class NotWhitelisted {
title = "$STR_NotWhitelisted_Title";
subtitle = "$STR_NotWhitelisted_SubTitle";
description = "$STR_NotWhitelisted_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
class Blacklisted {
title = "$STR_Blacklisted_Title";
subtitle = "$STR_Blacklisted_SubTitle";
description = "$STR_Blacklisted_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
class SpyGlass {
title = "$STR_SpyDetect_Title";
subTitle = "$STR_SpyDetect_SubTitle";
description = "$STR_SpyDetect_Descript";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
};
class CfgNotifications {
class MedicalRequestEmerg {
title = "$STR_MedicalRequestEmerg_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "%1";
duration = 5;
priority = 7;
};
class DeliveryAssigned {
title = "$STR_DeliveryAssigned_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa";
description = "%1";
duration = 10;
priority = 7;
};
class DeliveryFailed {
title = "$STR_DeliveryFailed_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskiconfailed_ca.paa";
description = "%1";
duration = 7;
priority = 7;
};
class DeliverySucceeded {
title = "$STR_DeliverySucceeded_Title";
iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcondone_ca.paa";
description = "%1";
duration = 6;
priority = 6;
};
class TextMessage {
title = "$STR_TextMessage_Title";
iconPicture = "icons\ico_messageNew.paa";
description = "%1";
duration = 10;
priority = 6;
};
class PoliceDispatch {
title = "$STR_PoliceDispatch_Title";
iconPicture = "icons\ico_messagePolice.paa";
description = "%1";
duration = 10;
priority = 6;
};
class AdminDispatch {
title = "$STR_AdminDispatch_Title";
iconPicture = "icons\ico_messageAdmin.paa";
description = "%1";
duration = 10;
priority = 6;
};
class AdminMessage {
title = "$STR_AdminMessage_Title";
iconPicture = "icons\ico_messageAdmin.paa";
description = "%1";
duration = 10;
priority = 5;
};
};
kleiner tipp es gibt ne code funktion die du gerne benutzen sollst
Wow Falscher Thread #Sry
achso wusste nicht wie ich die benutze sorry
Kann ich in dem Menü Zeilenumbrüche machen für z.b. eine Liste wenn ja wie?