TheFireRunner Felix es wäre klasse wenn du den Code Tag verwenden würdest und nicht den Spoiler ![]()
Sender/Koordinaten in einer SMS "verschlüsseln"
-
- Altis Life
-
Crunch -
13. August 2017 um 18:00
Hinweis zur Zukunft von Nodezone
Das neue Nodezone befindet sich in der finalen Entwicklungsphase. Mit dem geplanten Start wird das bisherige Forum auf Read Only umgestellt und künftig als Archiv erhalten bleiben.
Alle Informationen zur neuen Plattform, zur Accountübernahme und zum weiteren Ablauf findest du hier: Zum aktuellen Nodezone Beitrag
Das neue Nodezone befindet sich in der finalen Entwicklungsphase. Mit dem geplanten Start wird das bisherige Forum auf Read Only umgestellt und künftig als Archiv erhalten bleiben.
Alle Informationen zur neuen Plattform, zur Accountübernahme und zum weiteren Ablauf findest du hier: Zum aktuellen Nodezone Beitrag
-
-
OK werde ich beim nächsten mal nutzen

-
OK ich habe jetzt den beiden neuen Button in mein Menü eingefügt aber jetzt sind dort keine Kästchen zum anklicken...
Code: cell_phone.hpp
Alles anzeigenclass Life_cell_phone { idd = 3000; name = "Life_cell_phone"; onLoad = "[] spawn life_fnc_cellphone"; onUnLoad = ""; movingEnable = false; enableSimulation = false; class controlsBackground { class Life_RscTitleBackground: Life_RscText { idc = -1; text = ""; x = 0.1 * safezoneW + safezoneX; y = 0.2 * safezoneH + safezoneY; w = 0.64 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.698039}; }; }; class controls { class MainBackground: Life_RscText { idc = 2999; text = ""; x = 0.1 * safezoneW + safezoneX; y = 0.244 * safezoneH + safezoneY; w = 0.64 * safezoneW; h = 0.28 * safezoneH; ColorBackground[] = {0,0,0,0.698039}; ColorText[] = {1,1,1,1}; }; class Title: Life_RscText { idc = 3001; text = "$STR_CELL_Title"; x = 0.1 * safezoneW + safezoneX; y = 0.2 * safezoneH + safezoneY; w = 0.6 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0,0,0,0}; ColorText[] = {1,1,1,1}; }; class TextToSend: Life_RscText { idc = 3002; text = "$STR_CELL_TextToSend"; x = 0.1 * safezoneW + safezoneX; y = 0.25 * safezoneH + safezoneY; w = 0.6 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0,0,0,0}; ColorText[] = {1,1,1,1}; }; class textEdit: Life_RscEdit { idc = 3003; text = ""; x = 0.11 * safezoneW + safezoneX; y = 0.3 * safezoneH + safezoneY; w = 0.62 * safezoneW; h = 0.03 * safezoneH; ColorBackground[] = {0.784313,0.784313,0.784313,0}; ColorText[] = {1,1,1,1}; }; class TextMsgButton: Life_RscButtonMenu { idc = 3015; text = "$STR_CELL_TextMSGBtn"; onButtonClick = "[] call TON_fnc_cell_textmsg"; x = 0.11 * safezoneW + safezoneX; y = 0.35 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.498039}; ColorText[] = {1,1,1,1}; }; class PlayerList: Life_RscCombo { idc = 3004; text = ""; x = 0.11 * safezoneW + safezoneX; y = 0.4 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.098039,0.098039,0.098039,0.666666}; ColorText[] = {1,1,1,1}; }; class TextCopButton: Life_RscButtonMenu { idc = 3016; text = "$STR_CELL_TextPolice"; onButtonClick = "[] call TON_fnc_cell_textcop"; x = 0.32 * safezoneW + safezoneX; y = 0.35 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.498039}; ColorText[] = {1,1,1,1}; }; class TextAdminButton: Life_RscButtonMenu { idc = 3017; text = "$STR_CELL_TextAdmins"; onButtonClick = "[] call TON_fnc_cell_textadmin"; x = 0.53 * safezoneW + safezoneX; y = 0.35 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.498039}; ColorText[] = {1,1,1,1}; }; class AdminMsgButton: Life_RscButtonMenu { idc = 3020; text = "$STR_CELL_AdminMsg"; onButtonClick = "[] call TON_fnc_cell_adminmsg"; x = 0.32 * safezoneW + safezoneX; y = 0.4 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.498039}; ColorText[] = {1,1,1,1}; }; class AdminMsgAllButton: Life_RscButtonMenu { idc = 3021; text = "$STR_CELL_AdminMSGAll"; onButtonClick = "[] call TON_fnc_cell_adminmsgall"; x = 0.53 * safezoneW + safezoneX; y = 0.4 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.498039}; ColorText[] = {1,1,1,1}; }; class EMSRequest: Life_RscButtonMenu { idc = 3022; text = "$STR_CELL_EMSRequest"; onButtonClick = "[] call TON_fnc_cell_emsrequest"; x = 0.11 * safezoneW + safezoneX; y = 0.45 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0.380392,0.698039,0.882352,0.498039}; ColorText[] = {1,1,1,1}; }; class PoliceMsgAllButton: life_RscButtonMenu { idc = 3023; text = "Rundfunk"; onButtonClick = "[] call TON_fnc_cell_polizeimsgall"; x = 0.32 * safezoneW + safezoneX; y = 0.45 * safezoneH + safezoneY; w = 0.2 * safezoneW; h = 0.04 * safezoneH; ColorBackground[] = {0,0,0,0}; ColorText[] = {1,1,1,1}; }; class Title3: Life_RscText { idc = 8999; text = "Koords. verschlüsseln:"; x = 0.099739 * safezoneW + safezoneX; y = 0.521345 * safezoneH + safezoneY; w = 0.154687 * safezoneW; h = 0.022 * safezoneH; ColorBackground[] = {0.094117,0.094117,0.094117,0}; ColorText[] = {1,1,1,1}; }; class Title4: Life_RscText { idc = 11999; text = "Sender verschlüsseln:"; x = 0.099739 * safezoneW + safezoneX; y = 0.543567 * safezoneH + safezoneY; w = 0.154687 * safezoneW; h = 0.022 * safezoneH; ColorBackground[] = {0.094117,0.094117,0.094117,0}; ColorText[] = {1,1,1,1}; }; }; }; -