Yeah, seems like the original author renamed all his files (should work with call as well, because there are no sscheduled commands in it ^^)
@AmaZiinG ersetz mal überall AGUK durch life
Mache ich gleich
Schön, dass du den Weg zu NodeZone.net gefunden hast! Aktuell bist du nicht angemeldet und kannst deshalb nur eingeschränkt auf unsere Community zugreifen. Um alle Funktionen freizuschalten, spannende Inhalte zu entdecken und dich aktiv einzubringen, registriere dich jetzt kostenlos oder melde dich mit deinem Account an.
Yeah, seems like the original author renamed all his files (should work with call as well, because there are no sscheduled commands in it ^^)
@AmaZiinG ersetz mal überall AGUK durch life
Mache ich gleich
Müssen vllt diese Gebäude in der Nähe stehen ?
Mhm... ich sehe da gerade keinen Fehler
MAN hab auch schon geschaut.
Hier:
#include "..\..\script_macros.hpp"
/*
Author: Bryan "Tonic" Boardwine
Description:
Blah blah.
*/
private["_group","_hideout","_action","_cpRate","_cP","_progressBar","_title","_titleText","_ui","_flagTexture"];
_hideout = (nearestObjects[getPosATL player,["Land_u_Barracks_V2_F","Land_i_Barracks_V2_F"],25]) select 0;
_group = _hideout GVAR ["gangOwner",grpNull];
if(isNil {grpPlayer GVAR "gang_name"}) exitWith {titleText[localize "STR_GNOTF_CreateGang","PLAIN"];};
if(_group == grpPlayer) exitWith {titleText[localize "STR_GNOTF_Controlled","PLAIN"]};
if((_hideout GVAR ["inCapture",FALSE])) exitWith {hint localize "STR_GNOTF_Captured";};
if(!isNull _group) then {
_gangName = _group GVAR ["gang_name",""];
_action = [
format[localize "STR_GNOTF_AlreadyControlled",_gangName],
localize "STR_GNOTF_CurrentCapture",
localize "STR_Global_Yes",
localize "STR_Global_No"
] call BIS_fnc_guiMessage;
_cpRate = 0.0045;
} else {
_cpRate = 0.0075;
};
if(!isNil "_action" && {!_action}) exitWith {titleText[localize "STR_GNOTF_CaptureCancel","PLAIN"];};
life_action_inUse = true;
//Setup the progress bar
disableSerialization;
_title = localize "STR_GNOTF_Capturing";
5 cutRsc ["life_progress","PLAIN"];
_ui = GVAR_UINS "life_progress";
_progressBar = _ui displayCtrl 38201;
_titleText = _ui displayCtrl 38202;
_titleText ctrlSetText format["%2 (1%1)...","%",_title];
_progressBar progressSetPosition 0.01;
_cP = 0.01;
while {true} do {
if(animationState player != "AinvPknlMstpSnonWnonDnon_medic_1") then {
[player,"AinvPknlMstpSnonWnonDnon_medic_1",true] remoteExecCall ["life_fnc_animSync",RCLIENT];
player switchMove "AinvPknlMstpSnonWnonDnon_medic_1";
player playMoveNow "AinvPknlMstpSnonWnonDnon_medic_1";
};
sleep 0.26;
if(isNull _ui) then {
5 cutRsc ["life_progress","PLAIN"];
_ui = GVAR_UINS "life_progress";
_progressBar = _ui displayCtrl 38201;
_titleText = _ui displayCtrl 38202;
};
_cP = _cP + _cpRate;
_progressBar progressSetPosition _cP;
_titleText ctrlSetText format["%3 (%1%2)...",round(_cP * 100),"%",_title];
_hideout SVAR ["inCapture",true,true];
if(_cP >= 1 OR !alive player) exitWith {_hideout SVAR ["inCapture",false,true];};
if(life_istazed) exitWith {_hideout SVAR ["inCapture",false,true];}; //Tazed
if(life_isknocked) exitWith {_hideout SVAR ["inCapture",false,true];}; //Knocked
if(life_interrupted) exitWith {_hideout SVAR ["inCapture",false,true];};
};
//Kill the UI display and check for various states
5 cutText ["","PLAIN"];
player playActionNow "stop";
if(!alive player OR life_istazed OR life_isknocked) exitWith {life_action_inUse = false;_hideout SVAR ["inCapture",false,true];};
if((player getVariable["restrained",false])) exitWith {life_action_inUse = false;_hideout SVAR ["inCapture",false,true];};
if(life_interrupted) exitWith {life_interrupted = false; titleText[localize "STR_GNOTF_CaptureCancel","PLAIN"]; life_action_inUse = false;_hideout SVAR ["inCapture",false,true];};
life_action_inUse = false;
titleText["Hideout has been captured.","PLAIN"];
_flagTexture = [
"\A3\Data_F\Flags\Flag_red_CO.paa",
"\A3\Data_F\Flags\Flag_green_CO.paa",
"\A3\Data_F\Flags\Flag_blue_CO.paa",
"\A3\Data_F\Flags\Flag_white_CO.paa",
"\A3\Data_F\Flags\flag_fd_red_CO.paa",
"\A3\Data_F\Flags\flag_fd_green_CO.paa",
"\A3\Data_F\Flags\flag_fd_blue_CO.paa",
"\A3\Data_F\Flags\flag_fd_orange_CO.paa"
] call BIS_fnc_selectRandom;
_this select 0 setFlagTexture _flagTexture;
[[0,1],"STR_GNOTF_CaptureSuccess",true,[name player,(group player) getVariable "gang_name"]] remoteExecCall ["life_fnc_broadcast",RCLIENT];
_hideout SVAR ["inCapture",false,true];
_hideout SVAR ["gangOwner",grpPlayer,true];
Alles anzeigen
Wenn ich ein Gang Versteck einnehmen will habe ich immer nur das stehen:
Habe diesen Fehler im Log:
_cP = _cP + _cpRate;
_progressBar progressSetP>
12:25:42 Error position: <_cP + _cpRate;
_progressBar progressSetP>
12:25:42 Error Nicht definierte Variable in Ausdruck: _cp
12:25:42 File mpmissions\__CUR_MP.Chernarus_summer\core\actions\fn_captureHideout.sqf, line 56
12:25:43 Error in expression <eText = _ui displayCtrl 38202;
};
_cP = _cP + _cpRate;
_progressBar progressSetP>
12:25:43 Error position: <_cP + _cpRate;
_progressBar progressSetP>
12:25:43 Error Nicht definierte Variable in Ausdruck: _cp
12:25:43 File mpmissions\__CUR_MP.Chernarus_summer\core\actions\fn_captureHideout.sqf, line 56
12:25:43 Error in expression <eText = _ui displayCtrl 38202;
};
Alles anzeigen
Autor: Repentz
1. Geht in eure fn_requestReceived.sqf und sucht nach failMission "SpyGlass"; }; direkt darunter fügt ihr das ein:
if(profileName != _this select 1) exitWith {
hint format["Your old nickname %1",_this select 1];
[format["For your key is fixed another nickname, enter your old nickname in the profile of the game!<br/><br/>Your old nickname <t color='#b20303'>%1</t><br/><br/>If you have any problems with the change nickname - refer to the forum <t color='#665bff'>vk.com/russlandlife</t>",
_this select 1],
"Registered nickname change",
"adopt"
] call BIS_fnc_guiMessage;
["NameExists",false,false] call BIS_fnc_endMission;
};
2. Geht in eure description.ext und schreibt das rein:
class NameExists
{
title = "Change the nickname";
subTitle = "";
description = "For your key is fixed another nickname, enter your old nickname in the profile of the game!";
pictureBackground = "";
picture = "";
pictureColor[] = {0,0.3,0.6,1};
};
Fertig!
Hier sind noch ein paar Bilder( Die Bilder sind von Alaska Vet !)
Frage ist die Funktions.sqf so richtig ? :
#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";
Alles anzeigen
Also ich kann keine Nachricht abschicken, ich habe diesen Fehler:
15: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'.
4. Die Anzahl der "Bällchen" die euch angezeigt wird, könnt ihr mit "N", "B" und Scrollen ändern.
CREATE TABLE `dynmarket` (
`id` INT NOT NULL DEFAULT 1,
`prices` TEXT NOT NULL,
PRIMARY KEY (`id`));
INSERT INTO `dynmarket` VALUES (1,'[]');
Hast du auch das eingefügt ?
Autor: AOS
Geht in eure fn_keyHandler.sqf und schreibt ganz unten das rein:
//Takwondo(Traditional Martial arts in korea)(Shift + Num 1)
case 79:
{
if(_shift) then {_handled = true;};
if ((_shift) && (vehicle player == player)) then
{
cutText [format["Takwondo!!!"], "PLAIN DOWN"];
player playMove "AmovPercMstpSnonWnonDnon_exerciseKata";
};
};
//Kneebend Slow(Shift + Num 2)
case 80:
{
if(_shift) then {_handled = true;};
if ((_shift) && (vehicle player == player)) then
{
cutText [format["KneeBend Slow baby~"], "PLAIN DOWN"];
player playMove "AmovPercMstpSnonWnonDnon_exercisekneeBendA";
};
};
//Kneebend Fast(Shift + Num 3)
case 81:
{
if(_shift) then {_handled = true;};
if ((_shift) && (vehicle player == player)) then
{
cutText [format["KneeBend more Hard!!!Move!!Move!!"], "PLAIN DOWN"];
player playMove "AmovPercMstpSnonWnonDnon_exercisekneeBendB";
};
};
//Pushup(Shift + Num 4)
case 75:
{
if(_shift) then {_handled = true;};
if ((_shift) && (vehicle player == player)) then
{
cutText [format["Pushup!!!!!!"], "PLAIN DOWN"];
player playMove "AmovPercMstpSnonWnonDnon_exercisePushup";
};
};
Alles anzeigen
Fertig !
Danke für den Guide
Kein ding und wie siehts aus?
Hat geklappt man muss aber für die 4.4 ein paar Sachen verändern aber sonst top
Werde ich mal Testen. Danke fürs TUT
Mfg
AmaZiinG
Autor: Chimps47
1. Geht in eure Funktion.hpp und schreibt folgendes rein:
2. Geht in eure description.ext und sucht nach:#include config_spyglass.hpp schreibt darunter das:
3. Macht eine neue hpp Datei namens mapMarkers und schreibt das rein:
WICHTIG!!!!! Ihr müsst die Map Marker namen ändern sonst wird es nicht gehen !!!!!
/*
File: mapAreas.hpp
Author: Chimps47
{
"FilterName",
{MARKER,MARKER,MARKER}
}
THE EXCLUDE IS FOR THE MARKERS YOU WISH TO SHOW NO MATTER WHAT - DOESNT MATTER WHAT THEY FILTER IT WILL ALWAYS SHOW (ALSO BE AWARE THAT CERTAIN MARKERS CANNOT BE FILTERED)
*/
class mapAreas
{
exclude[] = {
"Police_Zone_1","safezonekavala1","safezonekavala4_1","safezonekavala3","safezonekavala4","Police_Zone_2","safezonekavala3_1","The Redzone","The Redzone_1","Donator","Altis Bridge","turtle_1_name","turtle_1_name_1","turtle_1_name_2","hunting_marker","Police_Zone_2_1","Donator1"
};
filters[] = {
{
"Police Zones",
{
"MARKER NAME HERE?",
"MARKER NAME HERE?"
}
},
{
"Hospitals",
{
"MARKER NAME HERE?",
"MARKER NAME HERE?",
"MARKER NAME HERE?"
}
},
{
"Vehicles",
{
"MARKER NAME HERE?",
"MARKER NAME HERE?",
"MARKER NAME HERE?",
"MARKER NAME HERE?",
"MARKER NAME HERE?",
"boat_2_1"
}
},
{
"Legal Fields",
{
"apple_1",
"apple_2",
"apple_3",
"apple_4",
"peaches_1",
"peaches_2",
"peaches_3",
"peaches_4"
}
},
{
"Legal Mines",
{
"lead_1",
"iron_1",
"salt_1",
"sand_1",
"diamond_1",
"oil_1",
"oil_2",
"rock_1",
"oil_rig_1",
"oil_rig_2"
}
},
{
"Legal Processors",
{
"dimond_1_1",
"OilP",
"copper_mine_1",
"iron_processing",
"OilP_1",
"rock_proc",
"Salt"
}
},
{
"Legal Traders",
{
"oil_trader_3",
"oil_trader_4",
"oil_trader",
"oil_trader_3_1",
"oil_trader_2",
"oil_trader_1"
}
},
{
"Illegal Fields",
{
"turtle_1_name_1",
"turtle_2",
"turtle_1_name_2",
"turtle_3",
"turtle_1",
"turtle_1_name",
"cocaine_1_1",
"cocaine_1",
"cocaine_1_1_1",
"meth_1",
"weed_1",
"weed_1_1",
"heroin_1_1",
"heroin_1",
"weed_2",
"weed_2_12",
"heroin_2",
"heroin2",
"cocaine_2_2",
"cocaine_2",
"cocaine_1_1_1_1",
"meth_2"
}
},
{
"Illegal Processors",
{
"heroin_p",
"cocaine processing_2",
"cocaine processing",
"Weed_p_1_1",
"cocaine processing_1",
"Weed_p_1",
"cocaine processing_2_1"
}
},
{
"Dealers",
{
"Dealer_1",
"Dealer_1_3",
"turle_dealer_2",
"turle_dealer",
"turle_dealer_1",
}
},
{
"Gun Stores",
{
"gun_store_1",
"gun_store_1_3",
"gun_store_1_1",
"dsad"
}
},
{
"Rebel Activities",
{
"capture_0_text",
"capture_1_text",
"capture_2_text",
"airshop_2",
"Gladiator",
"chop_shop_3",
"chop_shop_2_1",
"chop_shop_4",
"chop_shop_2"
}
},
{
"Service Stations",
{
"paint_1_3",
"paint_1_2",
"paint_1",
"paint_1_1_1",
"paint_1_1",
"paint_1_5",
"paint_1_6",
"paint_1_6_1",
"paint_1_8",
"paint_1_7",
"paint_1_1_2",
"air_serv_1"
}
},
{
"Paint Shops",
{
"pmr_1_1_2",
"pmr_1_1_2_1",
"pmr_1",
"pmr_1_1",
"pmr_1_1_1"
}
},
{
"Shops",
{
"fish_market_1",
"Gen_3_1",
"Gen_3",
"Gen_3_2",
"coffe shop kavala",
"Gen",
"Gen_3_3",
"Gen_3_1_1",
"Gen_3_1_1_3_1",
"Gen_2_2",
"Gen_4",
"coffe shop kavala_1_1",
"coffe shop kavala_1",
"Gen_3_1_1_2",
"Gen_3_4",
"Gen_2_1",
"Gen_3_1_1_1",
"Market",
"license_shop",
"license_shop_2_1_1",
"license_shop_2",
"Gen_3_4_1"
}
},
{
"Misc",
{
"Gen_5_1",
"skydiving_2",
"gold_bar_dealer",
"7News_1",
"maxi",
"pista_kart",
"pra",
"Gen_3_1_3",
"Gen_3_1_3_2",
"Gen_3_1_3_1_1",
"Gen_3_1_3_1",
"bounty_hq1",
"bounty_hq"
}
},
{
"DP Missions",
{
"dp_missions",
"dp_1_1",
"dp_1_2",
"dp_1_3",
"dp_1_4",
"dp_1_5",
"dp_1_6",
"dp_1_7",
"dp_1_8",
"dp_1_9",
"dp_1_10",
"dp_1_11",
"dp_1_12",
"dp_1_13",
"dp_1_14",
"dp_1_15",
"dp_1_16",
"dp_1_17",
"dp_1_18",
"dp_1_19",
"dp_1_20",
"dp_1_21",
"dp_1_18_1",
"dp_1_18_2",
"dp_1_14_1"
}
}
};
};
Alles anzeigen
legt die hpp in euer Missons Verzeichnis.
4. Macht eine neue hpp namensmap schreibt folgendes rein:
//Edit by AmaZiinG
class CHIMPmap {
idd = 38500;
name = "CHIMPmap";
movingenable = false;
enablesimulation = true;
onunload = "[] spawn {{if(markerType _x != ""Empty"") then {_x setMarkerAlphaLocal 1;};} forEach allMapMarkers;};";
class controlsBackground
{
class Map : Life_RscMapControl
{
idc = 1200;
x = 0.134375 * safezoneW + safezoneX;
y = 0.107177974434612 * safezoneH + safezoneY;
w = 0.740625 * safezoneW;
h = 0.822025565388397 * safezoneH;
};
};
class controls
{
class FilterList : Life_RscListNBox
{
idc = 1500;
x = 0; * safezoneW + safezoneX;
y = 0.107177974434612 * safezoneH + safezoneY;
w = 0.134895833333333 * safezoneW;
h = 0.822025565388397 * safezoneH;
onlbselchanged = "[] spawn life_fnc_mapMarkers;";
sizeex = 0.8;
font = ;
};
class FilterText : Life_RscText
{
idc = 1001;
text = "Map Marker";
y = 0.0749331366764995 * safezoneH + safezoneY;
w = 0.134895833333333 * safezoneW;
h = 0.033 * safezoneH;
colorbackground[] = {0,0.8,0.9,1};
};
class MapView : Life_RscText
{
x = 0.134375 * safezoneW + safezoneX;
y = 0.0749331366764995 * safezoneH + safezoneY;
h = 0.033 * safezoneH;
w = 0.740625 * safezoneW;
text = "Edit AmaZiinG";
colorbackground[] = {0,0,0.803921568627451,1};
idc = 1000;
};
};
};
Alles anzeigen
5. Geht in eure fn_keyHandler.sqf und schreibt ganz unten folgendes rein:
case _mapKey: {
[] spawn life_fnc_openMap;
_handled = true;
//switch (playerSide) do {
//case west: {if(!visibleMap) then {[] spawn AGUK_fnc_copMarkers;}};
//case independent: {if(!visibleMap) then {[] spawn AGUK_fnc_medicMarkers;}};
//};
};
6. Ladet euch den Map Filter.zip herunter und fügt es ein den core Ordner ein.
Fertig !
Die Queryrequest geht auch nicht nur so nebenbei
Die muss man halt die Zeilen raussuchen und einfügen in seiner Queryrequest.
Hey diese Tutorial enthält paar Fehler z.B die HPP da ist beim Code verschönern/Ordnen was verloren gegangen deswegen konnte man das nicht laden.. die HPP von der main Seite klappt super. Wollte es dir nur sagen und sag mal womit du den code konvertiert hast.
Danke
Mfg Pius von Team-Wings
Okay danke das du es gesagt hast, ich werde mich drum kümmern.