Brain O Conner du musst des Coplevel 1. bei fn_cellphone.sqf und 2. unter life_server\functions.sqf ändern.
[TUTORIAL][4.0+] Rundnachrichten für Polizei
-
- Altis Life
-
blackfisch -
1. Juni 2016 um 18:09
-
-
Brain O Conner du musst des Coplevel 1. bei fn_cellphone.sqf und 2. unter life_server\functions.sqf ändern.
Da kannst du kein cop level ändern
-
Also habe es nun nochma versucht,
aber es kommt immer DU MUSST EINE NACHRICHT EINGEBEN. Füge mal die abgeänderten Datein und rpt log bei.
Version 3.1.4.8
Handy : SQL Smartphone
smartphone.hpp
class Life_my_smartphone {
idd = 88888;
name = "life_my_telephone_menu";
movingEnable = false;
enableSimulation = true;
onLoad = "[] spawn life_fnc_smartphone;";
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.95;
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.95;
h = 0.7 - (22 / 250);
};
class PlayerListTitleBackground:Life_RscText {
colorBackground[] = {0.588, 0.424, 0.145, 1.0};
idc = -1;
x = 0.11;
y = 0.25;
w = 0.2;
h = (1 / 25);
};
class MessageTitleBackground:Life_RscText {
colorBackground[] = {0.588, 0.424, 0.145, 1.0};
idc = -1;
x = 0.325;
y = 0.25;
w = 0.7;
h = (1 / 25);
};
class RandomTitleBackground:Life_RscText {
colorBackground[] = {0.588, 0.424, 0.145, 1.0};
idc = -1;
x = 0.325;
y = 0.25 + 0.3 + (1 / 25);
w = 0.7;
h = (1 / 25);
};
};
class controls {
class MessageTitle : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 88886;
text = "";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
x = 0.325;
y = 0.25;
w = 0.7;
h = (1 / 25);
};
class RandomTitle : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 88890;
text = "$STR_SMARTPHONE_RANDOMTITLE";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
x = 0.325;
y = 0.25 + 0.3 + (1 / 25);
w = 0.7;
h = (1 / 25);
};
class PlayerList : Life_RscListBox
{
idc = 88881;
onLBSelChanged = "[2] spawn life_fnc_smartphone;";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
x = 0.11;
y = 0.25 + (1 / 25);
w = 0.2;
h = 0.5;
};
class MessageList : Life_RscListNBox
{
idc = 88882;
onLBSelChanged = "[(lbCurSel 88882)] call life_fnc_showMsg;";
//sizeEx = 0.04;
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
colorBackground[] = {0, 0, 0, 0.0};
columns[] = {0,0.3};
x = 0.325;
y = 0.25 + (1 / 25);
w = 0.7;
h = 0.3;
};
class TextShow : Life_RscControlsGroup {
x = 0.325;
y = 0.25 + 0.3 + (1 / 25) + (1 / 25);
w = 0.7;
h = 0.15;
class HScrollbar : HScrollbar {
height = 0;
};
class controls {
class showText : Life_RscStructuredText {
idc = 88887;
text = "";
colorBackground[] = {0.28,0.28,0.28,0.28};
size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
shadow = 0;
x = 0;
y = 0;
w = 0.69;//w = 0.7;
h = 1;//h = 2.15;
};
};
};
class Schreiben : Life_RscButtonMenu {
idc = 887892;
text = "$STR_SMARTPHONE_SCHREIBEN";
onButtonClick = "createDialog ""Life_smartphone_schreiben"";";
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])", 1.0};
x = 0.11;
y = 0.25 + (1 / 25) + 0.51;
w = 0.2;
h = (1 / 25);
};
class Title : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = -1;
text = "$STR_SMARTPHONE_TITLE";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
x = 0.1;
y = 0.2;
w = 0.95;
h = (1 / 25);
};
class PlayerListTitle : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = -1;
text = "$STR_SMARTPHONE_PLAYERLISTTITLE";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
x = 0.11;
y = 0.25;
w = 0.2;
h = (1 / 25);
};
class CloseLoadMenu : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;[] call life_fnc_p_updateMenu";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
class Notruf : Life_RscButtonMenu {
idc = -1;
text = "$STR_SMARTPHONE_NOTRUF";
onButtonClick = "createDialog ""Life_smartphone_notruf"";";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
x = 0.325 + 0.7 - (6.25 / 40);
y = 0.25 + (1 / 25) + 0.51;
w = (6.25 / 40);
h = (1 / 25);
};
class DeleteMessages : Life_RscButtonMenu {
idc = -1;
text = "Nachrichten löschen";
onButtonClick = "[3] call life_fnc_smartphone;";
colorBackground[] = { 0.584, 0.086, 0.086, 1.0 };
x = 0 + 0.7 - (6.25 / 40);
y = 0.25 + (1 / 25) + 0.51;
w = (6.25 / 20);
h = (1 / 25);
};
};
};
class Life_smartphone_schreiben
{
idd = 88883;
name = "life_my_smartphone_schreiben";
movingEnable = false;
enableSimulation = true;
onLoad = "[0,(lbData[88881,(lbCurSel 88881)])] spawn life_fnc_newMsg;";
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.6;
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.6;
h = 0.1;
};
};
class controls {
class Title : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 88886;
text = "$STR_SMARTPHONE_NACHRICHTTITLE";
x = 0.1;
y = 0.2;
w = 0.95;
h = (1 / 25);
};
class Absenden : Life_RscButtonMenu {
idc = 88885;
text = "$STR_SMARTPHONE_ABSENDEN";
onButtonClick = "[1,-1,(ctrlText 88884)] call life_fnc_newMsg;";
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])", 1.0};
x = 0.6 - (6.25 / 40) + 0.088;
y = 0.3 + (1 / 25) - 0.048;
w = (6.25 / 40);
h = (1 / 25);
};
class AdminMsg : life_RscButtonMenu
{
idc = 888897;
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])", 1.0};
onButtonClick = "[5,-1,(ctrlText 88884)] call life_fnc_newMsg;";
x = 0.6 - (6.25 / 40) - 0.121;
y = 0.3 + (1 / 25) - 0.048;
w = 0.2;
h = (1 / 25);
};
class Close : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
x = 0.11;
y = 0.3 + (1 / 25) - 0.048;
w = (6.25 / 40);
h = (1 / 25);
};
class textEdit : Life_RscEdit {
idc = 88884;
text = "";
sizeEx = 0.030;
x = 0.11; y = 0.3 - 0.048;
w = 0.58; h = 0.03;
};
};
};
class Life_smartphone_notruf {
idd = 887890;
name= "life_my_smartphone_notruf";
movingEnable = false;
enableSimulation = true;
onLoad = "[6] spawn life_fnc_newMsg;";
class controlsBackground {
class Life_RscTitleBackground:Life_RscText {
colorBackground[] = {0.584, 0.086, 0.086,1.0};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.85;
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.85;
h = 0.15 - (5 / 250);
};
};
class controls {
class Title : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 888892;
text = "$STR_SMARTPHONE_Notruftitle";
x = 0.1;
y = 0.2;
w = 0.6;
h = (1 / 25);
};
class textEdit : Life_RscEdit {
idc = 888894;
text = "";
sizeEx = 0.030;
x = 0.11; y = 0.25;
w = 0.83; h = 0.03;
};
class TxtCopButton : life_RscButtonMenu
{
idc = 888895;
text = "$STR_CELL_TextPolice";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[2,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.32;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class TxtAdminButton : life_RscButtonMenu
{
idc = 888896;
text = "$STR_CELL_TextAdmins";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[3,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.53;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class AdminMsgAll : life_RscButtonMenu
{
idc = 888898;
text = "$STR_CELL_AdminMSGAll";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[7,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.53;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class EMSReq : life_RscButtonMenu
{
idc = 888899;
text = "$STR_CELL_EMSRequest";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[4,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.11;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
/*
class ADACReq : life_RscButtonMenu
{
idc = 888900;
text = "$STR_CELL_ADACRequest";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[8,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.74;
y = 0.30;
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.74;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class CloseButton : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.38 + (1 / 50);
w = (6.25 / 40);
h = (1 / 25);
};
};
};
Hoffe das mir jemand helfen kann.
#EDIT --> Hat sich erledigt, funktioniert nun alles. Wie es soll.
-
Ich habe ein problem diese ist das ich die nachricht nicht abschicken kann kann mir da wer helfen?
LOG Datein
15:38:38 Server: Object 12:7 not found (message Type_93)
15:38:38 Server: Object 12:6 not found (message Type_93)
15:38:38 Server: Object 12:7 not found (message Type_121)
15:38:39 Server: Object 12:6 not found (message Type_121)
15:38:45 Server: Object 8:12 not found (message Type_121)
15:38:45 Server: Object 8:11 not found (message Type_121)
15:38:49 Server: Object 8:12 not found (message Type_93)
15:38:49 Server: Object 8:11 not found (message Type_93)
-
RTP Log und Client Log?
-
Also habe es nun nochma versucht,
aber es kommt immer DU MUSST EINE NACHRICHT EINGEBEN. Füge mal die abgeänderten Datein und rpt log bei.
Version 3.1.4.8
Handy : SQL Smartphone
smartphone.hpp
class Life_my_smartphone {
idd = 88888;
name = "life_my_telephone_menu";
movingEnable = false;
enableSimulation = true;
onLoad = "[] spawn life_fnc_smartphone;";
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.95;
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.95;
h = 0.7 - (22 / 250);
};
class PlayerListTitleBackground:Life_RscText {
colorBackground[] = {0.588, 0.424, 0.145, 1.0};
idc = -1;
x = 0.11;
y = 0.25;
w = 0.2;
h = (1 / 25);
};
class MessageTitleBackground:Life_RscText {
colorBackground[] = {0.588, 0.424, 0.145, 1.0};
idc = -1;
x = 0.325;
y = 0.25;
w = 0.7;
h = (1 / 25);
};
class RandomTitleBackground:Life_RscText {
colorBackground[] = {0.588, 0.424, 0.145, 1.0};
idc = -1;
x = 0.325;
y = 0.25 + 0.3 + (1 / 25);
w = 0.7;
h = (1 / 25);
};
};
class controls {
class MessageTitle : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 88886;
text = "";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
x = 0.325;
y = 0.25;
w = 0.7;
h = (1 / 25);
};
class RandomTitle : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 88890;
text = "$STR_SMARTPHONE_RANDOMTITLE";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
x = 0.325;
y = 0.25 + 0.3 + (1 / 25);
w = 0.7;
h = (1 / 25);
};
class PlayerList : Life_RscListBox
{
idc = 88881;
onLBSelChanged = "[2] spawn life_fnc_smartphone;";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
x = 0.11;
y = 0.25 + (1 / 25);
w = 0.2;
h = 0.5;
};
class MessageList : Life_RscListNBox
{
idc = 88882;
onLBSelChanged = "[(lbCurSel 88882)] call life_fnc_showMsg;";
//sizeEx = 0.04;
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
colorBackground[] = {0, 0, 0, 0.0};
columns[] = {0,0.3};
x = 0.325;
y = 0.25 + (1 / 25);
w = 0.7;
h = 0.3;
};
class TextShow : Life_RscControlsGroup {
x = 0.325;
y = 0.25 + 0.3 + (1 / 25) + (1 / 25);
w = 0.7;
h = 0.15;
class HScrollbar : HScrollbar {
height = 0;
};
class controls {
class showText : Life_RscStructuredText {
idc = 88887;
text = "";
colorBackground[] = {0.28,0.28,0.28,0.28};
size = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
shadow = 0;
x = 0;
y = 0;
w = 0.69;//w = 0.7;
h = 1;//h = 2.15;
};
};
};
class Schreiben : Life_RscButtonMenu {
idc = 887892;
text = "$STR_SMARTPHONE_SCHREIBEN";
onButtonClick = "createDialog ""Life_smartphone_schreiben"";";
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])", 1.0};
x = 0.11;
y = 0.25 + (1 / 25) + 0.51;
w = 0.2;
h = (1 / 25);
};
class Title : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = -1;
text = "$STR_SMARTPHONE_TITLE";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)";
x = 0.1;
y = 0.2;
w = 0.95;
h = (1 / 25);
};
class PlayerListTitle : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = -1;
text = "$STR_SMARTPHONE_PLAYERLISTTITLE";
sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.9)";
x = 0.11;
y = 0.25;
w = 0.2;
h = (1 / 25);
};
class CloseLoadMenu : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;[] call life_fnc_p_updateMenu";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.9 - (1 / 25);
w = (6.25 / 40);
h = (1 / 25);
};
class Notruf : Life_RscButtonMenu {
idc = -1;
text = "$STR_SMARTPHONE_NOTRUF";
onButtonClick = "createDialog ""Life_smartphone_notruf"";";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
x = 0.325 + 0.7 - (6.25 / 40);
y = 0.25 + (1 / 25) + 0.51;
w = (6.25 / 40);
h = (1 / 25);
};
class DeleteMessages : Life_RscButtonMenu {
idc = -1;
text = "Nachrichten löschen";
onButtonClick = "[3] call life_fnc_smartphone;";
colorBackground[] = { 0.584, 0.086, 0.086, 1.0 };
x = 0 + 0.7 - (6.25 / 40);
y = 0.25 + (1 / 25) + 0.51;
w = (6.25 / 20);
h = (1 / 25);
};
};
};
class Life_smartphone_schreiben
{
idd = 88883;
name = "life_my_smartphone_schreiben";
movingEnable = false;
enableSimulation = true;
onLoad = "[0,(lbData[88881,(lbCurSel 88881)])] spawn life_fnc_newMsg;";
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.6;
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.6;
h = 0.1;
};
};
class controls {
class Title : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 88886;
text = "$STR_SMARTPHONE_NACHRICHTTITLE";
x = 0.1;
y = 0.2;
w = 0.95;
h = (1 / 25);
};
class Absenden : Life_RscButtonMenu {
idc = 88885;
text = "$STR_SMARTPHONE_ABSENDEN";
onButtonClick = "[1,-1,(ctrlText 88884)] call life_fnc_newMsg;";
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])", 1.0};
x = 0.6 - (6.25 / 40) + 0.088;
y = 0.3 + (1 / 25) - 0.048;
w = (6.25 / 40);
h = (1 / 25);
};
class AdminMsg : life_RscButtonMenu
{
idc = 888897;
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])", 1.0};
onButtonClick = "[5,-1,(ctrlText 88884)] call life_fnc_newMsg;";
x = 0.6 - (6.25 / 40) - 0.121;
y = 0.3 + (1 / 25) - 0.048;
w = 0.2;
h = (1 / 25);
};
class Close : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
x = 0.11;
y = 0.3 + (1 / 25) - 0.048;
w = (6.25 / 40);
h = (1 / 25);
};
class textEdit : Life_RscEdit {
idc = 88884;
text = "";
sizeEx = 0.030;
x = 0.11; y = 0.3 - 0.048;
w = 0.58; h = 0.03;
};
};
};
class Life_smartphone_notruf {
idd = 887890;
name= "life_my_smartphone_notruf";
movingEnable = false;
enableSimulation = true;
onLoad = "[6] spawn life_fnc_newMsg;";
class controlsBackground {
class Life_RscTitleBackground:Life_RscText {
colorBackground[] = {0.584, 0.086, 0.086,1.0};
idc = -1;
x = 0.1;
y = 0.2;
w = 0.85;
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.85;
h = 0.15 - (5 / 250);
};
};
class controls {
class Title : Life_RscTitle {
colorBackground[] = {0, 0, 0, 0};
idc = 888892;
text = "$STR_SMARTPHONE_Notruftitle";
x = 0.1;
y = 0.2;
w = 0.6;
h = (1 / 25);
};
class textEdit : Life_RscEdit {
idc = 888894;
text = "";
sizeEx = 0.030;
x = 0.11; y = 0.25;
w = 0.83; h = 0.03;
};
class TxtCopButton : life_RscButtonMenu
{
idc = 888895;
text = "$STR_CELL_TextPolice";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[2,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.32;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class TxtAdminButton : life_RscButtonMenu
{
idc = 888896;
text = "$STR_CELL_TextAdmins";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[3,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.53;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class AdminMsgAll : life_RscButtonMenu
{
idc = 888898;
text = "$STR_CELL_AdminMSGAll";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[7,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.53;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class EMSReq : life_RscButtonMenu
{
idc = 888899;
text = "$STR_CELL_EMSRequest";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[4,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.11;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
/*
class ADACReq : life_RscButtonMenu
{
idc = 888900;
text = "$STR_CELL_ADACRequest";
colorBackground[] = {0.584, 0.086, 0.086,1.0};
onButtonClick = "[8,-1,(ctrlText 888894)] call life_fnc_newMsg;";
x = 0.74;
y = 0.30;
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.74;
y = 0.30;
w = 0.2;
h = (1 / 25);
};
class CloseButton : Life_RscButtonMenu {
idc = -1;
text = "$STR_Global_Close";
onButtonClick = "closeDialog 0;";
x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
y = 0.38 + (1 / 50);
w = (6.25 / 40);
h = (1 / 25);
};
};
};
Hoffe das mir jemand helfen kann.
#EDIT --> Hat sich erledigt, funktioniert nun alles. Wie es soll.
Wie hast du es hinbekommen? Hab das gleiche Problem!
Edit: Ohne das SQL Basierte Smartphone geht es.
-
Wie blende ich den Button für die Zivis und Medics bei dem SQL Smartphone aus ?
-
Genau so, wirst nur die IDCs ändern müssen bzw in ner anderen Datei eintragen - fn_smartphone oder so glaube
-
Genau so, wirst nur die IDCs ändern müssen bzw in ner anderen Datei eintragen - fn_smartphone oder so glaube
Das habe ich schon probiert bzw. ich habe keine Ahnung wo ich das in der fn_smartphone.sqf eintragen soll die Datei ist ja anderes aufgebaut als wie die fn_p_openMenu.sqf. Hast du eventuell einen Tipp wo ich das da eintragen muss?
-
Ich habe jetzt mehrmals den Button probiert auszublenden aber er ist immer noch da. Ich nutze diesen Befehl hier: ctrlShow[888900,false];
Ich habe es in die fn_smartphone.sqf sowie auch in der fn_newMsg.sqf eingetragen aber er verschwindet einfach nicht. Hat da jemand einen Rat ? -
Hallöchen... Helmchen hier.
Ich habe das gescheite Problem, dass ich wenn ich in der Nachricht Zeile eine Rundnachricht angebe und sie dann abschicke... eine Meldung "Oben Recht" kommt und mir sagt... "Du muss eine Nachricht angeben"
Ich würde mich sehr um Hilfe freuen..
Logs auf Anfrage.
-
Würde mich sehr Freuen. Danke im Voraus.
-
Häng mal RPT und Client Log an
-
Bitteschön ;:D
-
Also du hast einen Fehler im RPT:
Den gleichen Fehler hatte schonmal jemand:
[TUTORIAL][4.0+] Rundnachrichten für Polizei
Hast du das SQL Smartphone ? -
Ja habe das SQL Smartphone..
Der Fehler war aber davor schon da...
und wie behebe ich ihn?
-
Wäre Super wenn du mir das sagst. Den Fehler hatte ich aber schon davor?
-
hey, ich versuche schon ein ganz weile das zu fixen mit "Du musst eine Nachricht eingeben". ich hab auch versucht zu verstehen was der Shinji gesagt hat aber geht nicht. can someone help FYI... ich benutzte auch sql smartphone
-
Geht das auch für die 5.0?
-
Version: Altis Life 4.4 und neuer (3.1.4.8 nicht getestet! Auf eigene Gefahr)
Ich glaube das sollte die Frage beantworten!
-