ich nutze Windows edge der ist schnell und gut.
Beiträge von Risk
-
-
nox, falsches Thema
-
Einfach die Player_inv.hpp ersetzen.
-
Spoiler anzeigen
Code
Alles anzeigen#include "player_sys.sqf" class playerSettings { idd = playersys_DIALOG; movingEnable = true; enableSimulation = true; class controlsBackground { class life_RscTitleBackground:life_RscText { idc = -1; x = 0; y = 0; w = 1; h = 0.04; colorBackground[] = {0,0,0,0.9}; }; class logo: life_RscPicture { idc = 1201; text = "textures/Logo2.paa"; x = 0.05; y = 0.68; w = 0.2; h = 0.24; }; class life_RscTitleBackgroundRechts:life_RscText { idc = -1; x = 0.975; y = 0; w = 0.025; h = 1; colorBackground[] = {0,0,0,0.9}; }; class life_RscTitleBackgroundLinks:life_RscText { idc = -1; x = 5.58794e-009; y = 0; w = 0.025; h = 1; colorBackground[] = {0,0,0,0.9}; }; class life_RscTitleBackgroundUnten:life_RscText { idc = -1; x = 0; y = 0.96; w = 1; h = 0.04; colorBackground[] = {0,0,0,0.9}; }; class MainBackground:life_RscText { idc = -1; x = 0; y = 0; w = 1; h = 1; colorBackground[] = {0,0,0,0.7}; }; class Title : life_RscTitle { idc = -1; text = "$STR_PM_Title"; x = 0.025; y = 0; w = 0.95; h = 0.04; colorBackground[] = {0,0,0,0}; }; class moneyStatusInfo : Life_RscStructuredText { idc = 2015; sizeEx = 0.020; text = ""; x = 0.05; y = 0.16; w = 0.2; h = 0.12; }; class PlayersName : Title { idc = carry_weight; style = 1; text = ""; }; }; class controls { class itemHeader : Life_RscText { idc = -1; text = "$STR_PM_cItems"; sizeEx = 0.04; x = 0.6; y = 0.08; w = 0.35; h = 0.04; colorBackground[] = {0,0,0,0.9}; }; class licenseHeader : Life_RscText { idc = -1; text = "$STR_PM_Licenses"; sizeEx = 0.04; x = 0.275; y = 0.08; w = 0.3; h = 0.04; colorBackground[] = {0,0,0,0.9}; }; class moneySHeader : Life_RscText { idc = -1; text = "$STR_PM_MoneyStats"; sizeEx = 0.04; x = 0.05; y = 0.08; w = 0.2; h = 0.04; colorBackground[] = {0,0,0,0.9}; }; class itemList : life_RscListBox { idc = item_list; sizeEx = 0.030; x = 0.6; y = 0.16; w = 0.35; h = 0.56; }; class moneyEdit : Life_RscEdit { idc = 2018; text = "1"; sizeEx = 0.030; x = 0.05; y = 0.4; w = 0.2; h = 0.04; }; class NearPlayers : Life_RscCombo { idc = 2022; x = 0.05; y = 0.32; w = 0.2; h = 0.04; }; class moneyDrop : Life_RscButtonMenu { idc = 2001; text = "$STR_Global_Give"; onButtonClick = "[] call life_fnc_giveMoney"; sizeEx = 0.025; x = 0.05; y = 0.48; w = 0.2; h = 0.04; }; class itemEdit : Life_RscEdit { idc = item_edit; text = "1"; sizeEx = 0.030; x = 0.6; y = 0.78; w = 0.35; h = 0.04; }; class iNearPlayers : Life_RscCombo { idc = 2023; x = 0.6; y = 0.72; w = 0.35; h = 0.04; }; /* Disabled till it can be redone class moneyInput: life_RscCombo { idc = money_value; x = 0.02; y = 0.402; w = .1; h = .030; }; */ class DropButton : life_RscButtonMenu { idc = 2002; text = "$STR_Global_Give"; onButtonClick = "[] call life_fnc_giveItem;"; x = 0.7875; y = 0.84; w = 0.1625; h = 0.04; }; class UseButton : life_RscButtonMenu { text = "$STR_Global_Use"; onButtonClick = "[] call life_fnc_useItem;"; x = 0.6; y = 0.84; w = 0.1625; h = 0.04; }; class buttonCall: Life_RscButtonMenu { idc = 2406; text = "$STR_PM_CellPhone"; x = 0.7875; y = 0.9; w = 0.1625; h = 0.04; onButtonClick = "[] call life_fnc_cellphone2;"; }; class RemoveButton : life_RscButtonMenu { text = "$STR_Global_Remove"; onButtonClick = "[] call life_fnc_removeItem;"; x = 0.6; y = 0.9; w = 0.1625; h = 0.04; }; class Licenses_Menu : Life_RscControlsGroup { idc = -1 x = 0.275; y = 0.12; w = 0.3; h = 0.82; class Controls { class Life_Licenses : Life_RscStructuredText { idc = 2014; sizeEx = 0.020; text = ""; x = 0; y = 0; w = 0.3; h = 0.78; }; }; }; class 9: Life_RscButtonMenu { idc = 2403; text = "Regeln"; //--- ToDo: Localize; onButtonClick = "createDialog ""life_rules_main"";"; x = -0.275; y = 0.64; w = 0.25; h = 0.12; }; class 13: Life_RscButtonMenu { idc = 2405; text = "$STR_Global_Settings"; onButtonClick = "[] call life_fnc_settingsMenu;"; x = -0.275; y = 0; w = 0.25; h = 0.12; }; class 6: Life_RscButtonMenu { idc = 2409; text = "$STR_PM_SyncData"; onButtonClick = "[] call SOCK_fnc_syncData;"; x = -0.275; y = 0.32; w = 0.25; h = 0.12; }; class 4: Life_RscButtonMenu { idc = 2418; text = "$STR_PM_MyGang"; onButtonClick = "if(isNil ""life_action_gangInUse"") then {if(isNil {(group player) getVariable ""gang_owner""}) then {createDialog ""Life_Create_Gang_Diag"";} else {[] spawn life_fnc_gangMenu;};};"; x = -0.275; y = 0.16; w = 0.25; h = 0.12; }; class 7: Life_RscButtonMenu { idc = 2419; text = "$STR_PM_KeyChain"; onButtonClick = "createDialog ""Life_key_management"";"; x = -0.275; y = 0.48; w = 0.25; h = 0.12; }; class buttonCop1: Life_RscButtonMenu { idc = 2421; text = "Wanted +"; onButtonClick = "createDialog ""life_wantedadd2"";"; x = 1.025; y = 0.16; w = 0.25; h = 0.12; }; class buttonCop2: Life_RscButtonMenu { idc = 2422; text = "$STR_PM_WantedList"; onButtonClick = "[] call life_fnc_wantedMenu"; x = 1.025; y = 0; w = 0.25; h = 0.12; }; class buttonAdmin: Life_RscButtonMenu { idc = 2423; text = "$STR_PM_AdminMenu"; onButtonClick = "createDialog ""life_admin_menu"";"; x = 1.025; y = 0.32; w = 0.25; h = 0.12; }; class buttonRefresh: Life_RscButtonMenu { idc = 24999; text = "Umgebung Update"; onButtonClick = "[] call life_fnc_p_updateMenu"; x = 1.025; y = 0.46; w = 0.40; h = 0.12; }; class buttonDownload: Life_RscButtonMenu { idc = 249949; text = "Info"; onButtonClick = "createDialog ""RscDisplayWelcome"";"; x = 1.025; y = 0.60; w = 0.40; h = 0.12; }; class buttonClose: Life_RscButtonMenu { idc = 2405; text = "Schließen"; //--- ToDo: Localize; onButtonClick = "closeDialog 0;"; x = -0.275; y = 0.8; w = 0.25; h = 0.2; }; }; };
hier mein altes ist aber nicht fertig!
-
moin Leute. Kann mir jemand den Job schicken der eine Datei nach 6 Stunden ausführt?
Irgendwie bekomme ich es nicht hin
Mfg
Risk xeno -
Gute Arbeit
Würde noch was mit dem eventhandler rumspielen und einbauen das wenn die Leute im kapf sind das nicht benutzen können. Weil sonst kann man ja einfach abhauen:D -
beste 10/10
Ich habe noch über 30000 Lieder mal gucken wie lange das geht
Spoiler anzeigen
Externer Inhalt m.youtube.comInhalte von externen Seiten werden ohne deine Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklärst du dich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt. -
ka wie man das mit den Videos macht
Aber 10/10Spoiler anzeigen
Externer Inhalt m.youtube.comInhalte von externen Seiten werden ohne deine Zustimmung nicht automatisch geladen und angezeigt.Durch die Aktivierung der externen Inhalte erklärst du dich damit einverstanden, dass personenbezogene Daten an Drittplattformen übermittelt werden. Mehr Informationen dazu haben wir in unserer Datenschutzerklärung zur Verfügung gestellt. -
Das weiß ich nicht
-
testet das hier mal: Extdb2
-
-
Das ist das d41 repscript.
Musst du umschreiben
-
Joa hat sich schon erledigt.
Aber danke.
-
ich habe die original Dateien eingefügt weil ich an den Files ja sonst nichts gemacht habe..
-
Servus Leute.
Ich habe die Verwahrungstelle drauf gemacht auf meinen Server drauf gespielt. Dann hab ich diese entfernt und seitdem geht es nicht mehr
Leider habe ich keinen Fehler im RPT...
Die Dateien die damit zusammen hängen sind auch richtig..
Spoiler anzeigen
Code
Alles anzeigen/* File: fn_storeVehicle.sqf Author: Bryan "Tonic" Boardwine Description: Stores the vehicle in the garage. */ private["_nearVehicles","_vehicle"]; if(vehicle player != player) then { _vehicle = vehicle player; } else { _nearVehicles = nearestObjects[getPos (_this select 0),["Car","Air","Ship"],30]; //Fetch vehicles within 30m. if(count _nearVehicles > 0) then { { if(!isNil "_vehicle") exitWith {}; //Kill the loop. _vehData = _x getVariable["vehicle_info_owners",[]]; if(count _vehData > 0) then { _vehOwner = (_vehData select 0) select 0; if((getPlayerUID player) == _vehOwner) exitWith { _vehicle = _x; }; }; } foreach _nearVehicles; }; }; if(isNil "_vehicle") exitWith {hint localize "STR_Garage_NoNPC"}; if(isNull _vehicle) exitWith {}; [[_vehicle,false,(_this select 1)],"TON_fnc_vehicleStore",false,false] spawn RyL_fnc_MP; hint localize "STR_Garage_Store_Server"; RyL_garage_store = true;
Spoiler anzeigen
Code
Alles anzeigen/* File: fn_insertVehicle.sqf Author: Bryan "Tonic" Boardwine Description: Inserts the vehicle into the database */ private["_uid","_side","_type","_className","_color","_plate","_query","_sql"]; _uid = [_this,0,"",[""]] call BIS_fnc_param; _side = [_this,1,"",[""]] call BIS_fnc_param; _type = [_this,2,"",[""]] call BIS_fnc_param; _className = [_this,3,"",[""]] call BIS_fnc_param; _color = [_this,4,-1,[0]] call BIS_fnc_param; _plate = [_this,5,-1,[0]] call BIS_fnc_param; //Stop bad data being passed. if(_uid == "" OR _side == "" OR _type == "" OR _className == "" OR _color == -1 OR _plate == -1) exitWith {}; _query = format["INSERT INTO vehicles (side, classname, type, pid, alive, active, inventory, color, plate) VALUES ('%1', '%2', '%3', '%4', '1','1','""[]""', '%5', '%6')",_side,_className,_type,_uid,_color,_plate]; waitUntil {sleep (random 0.3); !DB_Async_Active}; [_query,1] call DB_fnc_asyncCall;
ich hoffe ihr könnt mir helfen
hail
-
man kann das ganze auch über ein Script regeln..
-
Das ist die hpp...
-
life_fnc_FZopenmenu schick ma die Datei
-
_random = round (random 5);
_wahl = [_random] call _fnc_random;
_time = 5;
_fnc_random =
{
Switch (true) do
{
Case {1}: life_hunger = life_hunger - 1;
Case {2}: life_thirst = life_thirst -1;
};
while (true) do
{
Sleep _time;
Call _wahl;
};Hab es am Handy geschrieben nicht wundern
-
Okay muss ich dann mal gucken :p