Danke @blackfisch - rein rhetorisch : wo könnte man denn den Fehler gemacht haben... . Weil haben ja doch einige gehabt
Zwar ne blöde frage aber man kann ja trotzdem mal fragen
[TUTORIAL][4.0+] Rundnachrichten für Polizei
-
- Altis Life
-
blackfisch -
1. Juni 2016 um 18:09
-
-
Danke @blackfisch - rein rhetorisch : wo könnte man denn den Fehler gemacht haben... . Weil haben ja doch einige gehabt
Zwar ne blöde frage aber man kann ja trotzdem mal fragenGanz spontan würde ich sagen:
- Checken, ob das benötigte Coplevel vorhanden bzw überall geändert ist
- Die Einträge in der functions.sqf checken
-
Punkt 2. verstehe ich nicht ganz richtig.
was kommt in die dialog\cell_phone.hpp unter der class EmsRequest ?? die if abfrage in punkt 3.?
-
Punkt 2. verstehe ich nicht ganz richtig.
was kommt in die dialog\cell_phone.hpp unter der class EmsRequest ?? die if abfrage in punkt 3.?
Tut mir leid, ist wohl beim neu formatieren was schief gegangen ist korrigiert
-
geht das jetzt auch schon für 4.4r3?
-
[size=18][TUTORIAL][4.0+] Rundnachrichten für Polizei[/size]
Deute die Überschrift selbst
-
Also ich kann keine Nachricht abschicken, ich habe diesen Fehler:
Code15:17:34 Warning Message: No entry 'mpmissions\__CUR_MP.Chernarus_summer\description.ext/Life_my_smartphone/controls/MessageList.rowHeight'. 15:17:34 Warning Message: '/' is not a value 15:17:34 Warning Message: No entry 'mpmissions\__CUR_MP.Chernarus_summer\description.ext/Life_my_smartphone/controls/MessageList.drawSideArrows'. 15:17:34 Warning Message: '/' is not a value 15:17:34 Warning Message: No entry 'mpmissions\__CUR_MP.Chernarus_summer\description.ext/Life_my_smartphone/controls/MessageList.idcLeft'. 15:17:34 Warning Message: '/' is not a value 15:17:34 Warning Message: No entry 'mpmissions\__CUR_MP.Chernarus_summer\description.ext/Life_my_smartphone/controls/MessageList.idcRight'.
-
Life_my_smartphone/controls/MessageList.idcRight'.
Fehler im Dialog, da hast du irgendwas kaputt gemacht. Aber bei Custom Dialogen misch ich mich da nicht ein, die mag ich dafür zu wenig xD
-
Frage ist die Funktions.sqf so richtig ? :
Code
Alles anzeigen#include "script_macros.hpp" TON_fnc_index = compileFinal " private[""_item"",""_stack""]; _item = _this select 0; _stack = _this select 1; _return = -1; { if(_item in _x) exitWith { _return = _forEachIndex; }; } foreach _stack; _return; "; TON_fnc_player_query = compileFinal " private[""_ret""]; _ret = _this select 0; if(isNull _ret) exitWith {}; if(isNil ""_ret"") exitWith {}; [life_atmbank,life_cash,owner player,player,profileNameSteam,getPlayerUID player,playerSide] remoteExecCall [""life_fnc_admininfo"",_ret]; "; publicVariable "TON_fnc_player_query"; publicVariable "TON_fnc_index"; TON_fnc_isnumber = compileFinal " private[""_valid"",""_value"",""_compare""]; _value = _this select 0; _valid = [""0"",""1"",""2"",""3"",""4"",""5"",""6"",""7"",""8"",""9""]; _array = [_value] call KRON_StrToArray; _return = true; { if(_x in _valid) then {} else { _return = false; }; } foreach _array; _return; "; publicVariable "TON_fnc_isnumber"; TON_fnc_clientGangKick = compileFinal " private[""_unit"",""_group""]; _unit = _this select 0; _group = _this select 1; if(isNil ""_unit"" OR isNil ""_group"") exitWith {}; if(player == _unit && (group player) == _group) then { life_my_gang = ObjNull; [player] joinSilent (createGroup civilian); hint ""You have been kicked out of the gang.""; }; "; publicVariable "TON_fnc_clientGangKick"; TON_fnc_clientGetKey = compileFinal " private[""_vehicle"",""_unit"",""_giver""]; _vehicle = _this select 0; _unit = _this select 1; _giver = _this select 2; if(isNil ""_unit"" OR isNil ""_giver"") exitWith {}; if(player == _unit && !(_vehicle in life_vehicles)) then { _name = getText(configFile >> ""CfgVehicles"" >> (typeOf _vehicle) >> ""displayName""); hint format[""%1 has gave you keys for a %2"",_giver,_name]; life_vehicles pushBack _vehicle; [getPlayerUID player,playerSide,_vehicle,1] remoteExecCall [""TON_fnc_keyManagement"",2]; }; "; publicVariable "TON_fnc_clientGetKey"; TON_fnc_clientGangLeader = compileFinal " private[""_unit"",""_group""]; _unit = _this select 0; _group = _this select 1; if(isNil ""_unit"" OR isNil ""_group"") exitWith {}; if(player == _unit && (group player) == _group) then { player setRank ""COLONEL""; _group selectLeader _unit; hint ""You have been made the new leader.""; }; "; publicVariable "TON_fnc_clientGangLeader"; TON_fnc_clientGangLeft = compileFinal " private[""_unit"",""_group""]; _unit = _this select 0; _group = _this select 1; if(isNil ""_unit"" OR isNil ""_group"") exitWith {}; if(player == _unit && (group player) == _group) then { life_my_gang = ObjNull; [player] joinSilent (createGroup civilian); hint ""You have quit the gang.""; }; "; publicVariable "TON_fnc_clientGangLeft"; //Cell Phone Messaging /* -fnc_cell_textmsg -fnc_cell_textcop -fnc_cell_textadmin -fnc_cell_adminmsg -fnc_cell_adminmsgall */ //To EMS TON_fnc_cell_emsrequest = compileFinal " private[""_msg"",""_to""]; ctrlShow[3022,false]; _msg = ctrlText 3003; _to = ""EMS Units""; if(_msg == """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3022,true];}; [_msg,name player,5,mapGridPosition player,player] remoteExecCall [""TON_fnc_clientMessage"",independent]; [] call life_fnc_cellphone; hint format[""You have sent a message to all EMS Units."",_to,_msg]; ctrlShow[3022,true]; "; //To One Person TON_fnc_cell_textmsg = compileFinal " private[""_msg"",""_to""]; ctrlShow[3015,false]; _msg = ctrlText 3003; if(lbCurSel 3004 == -1) exitWith {hint ""You must select a player you are sending the text to!""; ctrlShow[3015,true];}; _to = call compile format[""%1"",(lbData[3004,(lbCurSel 3004)])]; if(isNull _to) exitWith {ctrlShow[3015,true];}; if(isNil ""_to"") exitWith {ctrlShow[3015,true];}; if(_msg == """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3015,true];}; [_msg,name player,0] remoteExecCall [""TON_fnc_clientMessage"",_to]; [] call life_fnc_cellphone; hint format[""You sent %1 a message: %2"",name _to,_msg]; ctrlShow[3015,true]; "; //To All Cops TON_fnc_cell_textcop = compileFinal " private[""_msg"",""_to""]; ctrlShow[3016,false]; _msg = ctrlText 3003; _to = ""The Police""; if(_msg == """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3016,true];}; [_msg,name player,1,mapGridPosition player,player] remoteExecCall [""TON_fnc_clientMessage"",-2]; [] call life_fnc_cellphone; hint format[""You sent %1 a message: %2"",_to,_msg]; ctrlShow[3016,true]; "; //To All Admins TON_fnc_cell_textadmin = compileFinal " private[""_msg"",""_to"",""_from""]; ctrlShow[3017,false]; _msg = ctrlText 3003; _to = ""The Admins""; if(_msg == """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3017,true];}; [_msg,name player,2,mapGridPosition player,player] remoteExecCall [""TON_fnc_clientMessage"",-2]; [] call life_fnc_cellphone; hint format[""You sent %1 a message: %2"",_to,_msg]; ctrlShow[3017,true]; "; //Admin To One Person TON_fnc_cell_adminmsg = compileFinal " if(isServer) exitWith {}; if((call life_adminlevel) < 1) exitWith {hint ""You are not an admin!"";}; private[""_msg"",""_to""]; ctrlShow[3020,false]; _msg = ctrlText 3003; _to = call compile format[""%1"",(lbData[3004,(lbCurSel 3004)])]; if(isNull _to) exitWith {ctrlShow[3020,true];}; if(isNil ""_to"") exitWith {ctrlShow[3020,true];}; if(_msg == """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3020,true];}; [_msg,name player,3] remoteExecCall [""TON_fnc_clientMessage"",_to]; [] call life_fnc_cellphone; hint format[""Admin Message Sent To: %1 - Message: %2"",name _to,_msg]; ctrlShow[3020,true]; "; TON_fnc_cell_adminmsgall = compileFinal " if(isServer) exitWith {}; if((call life_adminlevel) < 1) exitWith {hint ""You are not an admin!"";}; private[""_msg"",""_from""]; ctrlShow[3021,false]; _msg = ctrlText 3003; if(_msg == """") exitWith {hint ""You must enter a message to send!"";ctrlShow[3021,true];}; [_msg,name player,4] remoteExecCall [""TON_fnc_clientMessage"",-2]; [] call life_fnc_cellphone; hint format[""Admin Message Sent To All: %1"",_msg]; ctrlShow[3021,true]; "; TON_fnc_cell_polizeimsgall = //NEW compileFinal " if(isServer) exitWith {}; if((call life_coplevel) < 7) exitWith {hint ""Du bist dazu nicht berechtigt!"";}; private[""_msg"",""_from""]; ctrlShow[3023,false]; _msg = ctrlText 3003; if(_msg == """") exitWith {hint ""Du musst eine Nachricht eingeben!"";ctrlShow[3023,true];}; [_msg,name player,6] remoteExecCall [""TON_fnc_clientMessage"",-2]; [] call life_fnc_cellphone; hint format[""gesendete Rundfunknachricht: %1"",_msg]; ctrlShow[3023,true]; "; publicVariable "TON_fnc_cell_textmsg"; publicVariable "TON_fnc_cell_textcop"; publicVariable "TON_fnc_cell_textadmin"; publicVariable "TON_fnc_cell_adminmsg"; publicVariable "TON_fnc_cell_adminmsgall"; publicVariable "TON_fnc_cell_emsrequest"; publicVariable "TON_fnc_cell_polizeimsgall"; //Client Message /* 0 = private message 1 = police message 2 = message to admin 3 = message from admin 4 = admin message to all */ TON_fnc_clientMessage = compileFinal " if(isServer) exitWith {}; private[""_msg"",""_from"", ""_type""]; _msg = _this select 0; _from = _this select 1; _type = _this select 2; if(_from == """") exitWith {}; switch (_type) do { case 0 : { private[""_message""]; _message = format["">>>MESSAGE FROM %1: %2"",_from,_msg]; hint parseText format [""<t color='#FFCC00'><t size='2'><t align='center'>New Message<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>You<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%2"",_from,_msg]; [""TextMessage"",[format[""You Received A New Private Message From %1"",_from]]] call bis_fnc_showNotification; player say3D ""alert""; systemChat _message; }; case 1 : { if(side player != west) exitWith {}; private[""_message"",""_loc"",""_unit""]; _loc = _this select 3; _unit = _this select 4; _message = format[""--- 911 DISPATCH FROM %1: %2"",_from,_msg]; if(isNil ""_loc"") then {_loc = ""Unknown"";}; hint parseText format [""<t color='#316dff'><t size='2'><t align='center'>New Dispatch<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>All Officers<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><t color='#33CC33'>Coords: <t color='#ffffff'>%2<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%3"",_from,_loc,_msg]; [""PoliceDispatch"",[format[""A New Police Report From: %1"",_from]]] call bis_fnc_showNotification; player say3D ""alert""; systemChat _message; }; case 2 : { if((call life_adminlevel) < 1) exitWith {}; private[""_message"",""_loc"",""_unit""]; _loc = _this select 3; _unit = _this select 4; _message = format[""!!! ADMIN REQUEST FROM %1: %2"",_from,_msg]; if(isNil ""_loc"") then {_loc = ""Unknown"";}; hint parseText format [""<t color='#ffcefe'><t size='2'><t align='center'>Admin Request<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>Admins<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><t color='#33CC33'>Coords: <t color='#ffffff'>%2<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%3"",_from,_loc,_msg]; [""AdminDispatch"",[format[""%1 Has Requested An Admin!"",_from]]] call bis_fnc_showNotification; player say3D ""alert""; systemChat _message; }; case 3 : { private[""_message""]; _message = format[""!!! ADMIN MESSAGE: %1"",_msg]; _admin = format[""Sent by admin: %1"", _from]; hint parseText format [""<t color='#FF0000'><t size='2'><t align='center'>Admin Message<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>You<br/><t color='#33CC33'>From: <t color='#ffffff'>An Admin<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%1"",_msg]; [""AdminMessage"",[""You Have Received A Message From An Admin!""]] call bis_fnc_showNotification; player say3D ""alert""; systemChat _message; if((call life_adminlevel) > 0) then {systemChat _admin;}; }; case 4 : { private[""_message"",""_admin""]; _message = format[""!!!ADMIN MESSAGE: %1"",_msg]; _admin = format[""Sent by admin: %1"", _from]; hint parseText format [""<t color='#FF0000'><t size='2'><t align='center'>Admin Message<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>All Players<br/><t color='#33CC33'>From: <t color='#ffffff'>The Admins<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%1"",_msg]; [""AdminMessage"",[""You Have Received A Message From An Admin!""]] call bis_fnc_showNotification; player say3D ""alert""; systemChat _message; if((call life_adminlevel) > 0) then {systemChat _admin;}; }; case 5: { if(side player != independent) exitWith {}; private[""_message"",""_loc"",""_unit""]; _loc = _this select 3; _unit = _this select 4; _message = format[""!!! EMS REQUEST: %1"",_msg]; hint parseText format [""<t color='#FFCC00'><t size='2'><t align='center'>EMS Request<br/><br/><t color='#33CC33'><t align='left'><t size='1'>To: <t color='#ffffff'>You<br/><t color='#33CC33'>From: <t color='#ffffff'>%1<br/><t color='#33CC33'>Coords: <t color='#ffffff'>%2<br/><br/><t color='#33CC33'>Message:<br/><t color='#ffffff'>%3"",_from,_loc,_msg]; [""TextMessage"",[format[""EMS Request from %1"",_from]]] call bis_fnc_showNotification; }; case 6 : { private[""_message"",""_admin""]; _message = format[""POLIZEI RUNDFUNK: %1"",_msg]; hint parseText format [""<t color='#0000FF'><t size='2'><t align='center'>Polizei Rundfunk<br/><br/><t color='#33CC33'><t align='left'><t size='1'>An: <t color='#ffffff'>Alle Bürger<br/><t color='#33CC33'>Von: <t color='#ffffff'>Polizei Altis<br/><br/><t color='#33CC33'>Mitteilung:<br/><t color='#ffffff'>%1"",_msg]; [""PolizeiRundfunk"",[""Neue Polizei Mitteilung""]] call bis_fnc_showNotification; systemChat _message; }; }; "; publicVariable "TON_fnc_clientMessage";
-
sieht soweit korrekt aus
-
Guten Tag Blackfisch ich habe dass Problem dass Jeder Den Button Rundfunk sieht und als cop wenn ich eine Nachricht Eingeben Steht da du musst erst einen Nachricht hab schon vieles Versucht aber Nicht Geholfen Teste Es Bei Der Version 4.5
MFG Likeaboss
-
Um den Button deaktivieren für Medic,Opfor,Ziv musst du in die datei fn_p_openMenu.sqf diese findest du unter dem core/pmenu
Dann musst du diesen Code unter der jeweiligen Slots eintragen wo dieses ausgeblendet werden soll.
Code: ctrlShow[3023,false];
-
Bei mir gibt es einen Fehler. Es schickt die Nachricht nicht ab. Ich habe jedoch alles so gemacht wie oben beschrieben. Kann mir jemand helfen?
Mit freundlichen Grüßen,
Dukes
-
Bei mir gibt es einen Fehler. Es schickt die Nachricht nicht ab. Ich habe jedoch alles so gemacht wie oben beschrieben. Kann mir jemand helfen?
Mit freundlichen Grüßen,
Dukes
Hast du das SQL-Telefon auf deinem Server ?
-
Ich bin mir nicht sicher^^. Also ich habe nichts geändert also könnte es sein das ich das habe.
Ist das das SQL-Handy im Anhang?
-
Könntet Ihr mir bitte helfen. Brauche das fände ich echt schön.
mit freundlichen Grüßen,
Dukes
-
Ja das ist das SQL Phone und dennoch verweise ich lediglich auf meine Signatur (weswegen es von mir bisher kein Statement dazu gab weil wegen bereits 20 tausend Mal gesagt)
Zitat von Meine SignaturMit freundlichen Grüßen
blackfisch
______________________
Wichtige Links:
[Erklärung|Leitfaden] Arma 3 Logs - Client, Server & extDB Log
[Erklärung|Leitfaden] Arma 3 Code Optimierung
[TUTORIAL][ALTIS LIFE] life_fnc_MP zu remoteExec | undefined variable in Expression 'life_fnc_MP'Ohne Logs & entsprechende Dateien kein Support!
Nix Logs nix los. -
Ich kann ja hier in denn Anhang mal das hängen was ich bearbeitet habe. Ich habe das SQL-Handy nicht in dem Fall musste ich das ja wie oben beschrieben war machen.
Das ist die cell_phone.hpp und die description.ext (Konnte diese nicht in den Anhang machen)
cell_phone.hpp
Code
Alles anzeigenclass Life_cell_phone { idd = 3000; name= "life_cell_phone"; movingEnable = 0; enableSimulation = 1; onLoad = "[] spawn life_fnc_cellphone"; class controlsBackground { class Life_RscTitleBackground: Life_RscText { colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; idc = -1; x = 0.1; y = 0.2; w = 0.64; h = (1 / 25); }; class MainBackground: Life_RscText { colorBackground[] = {0, 0, 0, 0.7}; idc = -1; x = 0.1; y = 0.2 + (11 / 250); w = 0.64; h = 0.3 - (5 / 250); }; }; class controls { class Title: Life_RscTitle { colorBackground[] = {0, 0, 0, 0}; idc = 3001; text = "$STR_CELL_Title"; x = 0.1; y = 0.2; w = 0.6; h = (1 / 25); }; class TextToSend: Life_RscTitle { colorBackground[] = {0, 0, 0, 0}; idc = 3002; text = "$STR_CELL_TextToSend"; x = 0.1; y = 0.25; w = 0.6; h = (1 / 25); }; class textEdit: Life_RscEdit { idc = 3003; text = ""; sizeEx = 0.030; x = 0.11; y = 0.3; w = 0.62; h = 0.03; }; class TextMsgButton: Life_RscButtonMenu { idc = 3015; text = "$STR_CELL_TextMSGBtn"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_textmsg"; x = 0.11; y = 0.35; w = 0.2; h = (1 / 25); }; class PlayerList: Life_RscCombo { idc = 3004; x = 0.11; y = 0.4; w = 0.2; h = (1 / 25); }; class TextCopButton: Life_RscButtonMenu { idc = 3016; text = "$STR_CELL_TextPolice"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_textcop"; x = 0.32; y = 0.35; w = 0.2; h = (1 / 25); }; class TextAdminButton: Life_RscButtonMenu { idc = 3017; text = "$STR_CELL_TextAdmins"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_textadmin"; x = 0.53; y = 0.35; w = 0.2; h = (1 / 25); }; class AdminMsgButton: Life_RscButtonMenu { idc = 3020; text = "$STR_CELL_AdminMsg"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_adminmsg"; x = 0.32; y = 0.4; w = 0.2; h = (1 / 25); }; class AdminMsgAllButton: Life_RscButtonMenu { idc = 3021; text = "$STR_CELL_AdminMSGAll"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_adminmsgall"; x = 0.53; y = 0.4; w = 0.2; h = (1 / 25); }; class EMSRequest: Life_RscButtonMenu { idc = 3022; text = "$STR_CELL_EMSRequest"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_emsrequest"; x = 0.11; y = 0.45; w = 0.2; h = (1 / 25); }; class PoliceMsgAllButton : life_RscButtonMenu { idc = 3023; text = "Rundfunk"; colorBackground[] = {"(profileNamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profileNamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profileNamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call TON_fnc_cell_polizeimsgall"; x = 0.32; y = 0.45; w = 0.2; h = (1 / 25); }; class CloseButtonKey: Life_RscButtonMenu { idc = -1; text = "$STR_Global_Close"; onButtonClick = "closeDialog 0;"; x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH)); y = 0.51 + (1 / 50); w = (6.25 / 40); h = (1 / 25); }; }; };
description.extC
Alles anzeigen#include "infiSTAR_AdminMenu.hpp" disableChannels[]={0,1,2}; #include "Config_Spyglass.hpp" #include "CfgRemoteExec.hpp" #include "dialog\MasterHandler.hpp" #include "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\Siren_Long.ogg", 1.0, 1}; titles[] = {}; }; class SirenLong { name = "SirenLong"; sound[] = {"\sounds\Siren_Speech.ogg", 1.0, 1}; titles[] = {}; }; class medicSiren { name = "medicSiren"; sound[] = {"\sounds\medic_siren.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\car_lock.ogg", 0.25, 1}; titles[] = {}; }; class UnlockCarSound { name = "UnlockCarSound"; sound[] = {"\sounds\unlock.ogg", 0.25, 1}; titles[] = {}; }; class CarAlarm { name = "CarAlarm"; sound[] = {"\sounds\caralarm.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; }; class PolizeiRundfunk { title = "Polizei Rundfunk"; iconPicture = "icons\ico_messagePolice.paa"; //Icon kann geändert werden, kein Icon = leere "" description = "%1"; duration = 10; priority = 5; }; };
Die restlichen Dateien hängen im Anhang. Ich habe einfach alles da reinkopiert wo es hin muss. Wäre nett wenn sich das mal jemand anschaut.Danke im voraus.
Mit freundlichen Grüßen
Dukes
-
Die Logs wären auch sehr gut. Wie blackfisch schon geschrieben hat!
-
Entschuldigung das ich Frage aber ich kenne mich da nicht so aus. Wo finde ich denn diese Logs?
-