@Rom
danke hat funktioniert
Somit kann der Beitrag als Beendet angesehen werden
@Rom
danke hat funktioniert
Somit kann der Beitrag als Beendet angesehen werden
Hay, ich habe das problem das ich bei diesem Script keine NArichten absenden kann
der fehler wird angezigt im Log
ctrlShow[>
18:27:04 Error Fehlende )
18:27:04 File mpmissions\__CUR_MP.Australia\core\pmenu\fn_newMsg.sqf, line 26
18:27:04 Error in expression <me life_smartphoneTarget]];
if((__GETC__(life_adminlevel) < 1)) then
{
ctrlShow[>
18:27:04 Error position: <(life_adminlevel) < 1)) then
{
ctrlShow[>
18:27:04 Error Fehlende )
18:27:04 File mpmissions\__CUR_MP.Australia\core\pmenu\fn_newMsg.sqf, line 26
habe rein geschaut aber lieder nichts gefunden
hier einmal die fn_newMSG.sqf
#include <macro.h>
/*
file: fn_newMsg.sqf
Author: Silex
*/
private["_to","_type","_playerData","_msg"];
disableSerialization;
_type = [_this,0,-1] call BIS_fnc_param;
_playerData = [_this,1,-1] call BIS_fnc_param;
_msg = [_this,2,"",[""]] call BIS_fnc_param;
_display = findDisplay 88888;
_cPlayerList = _display displayCtrl 88881;
_cMessageEdit = _display displayCtrl 88884;
switch(_type) do
{
case 0:
{
life_smartphoneTarget = call compile format["%1",_playerData];
ctrlSetText[88886, format["Nachricht an: %1",name life_smartphoneTarget]];
if((__GETC__(life_adminlevel) < 1)) then
{
ctrlShow[888897,false];
};
};
//normal message
case 1:
{
if(isNUll life_smartphoneTarget) exitWith {hint format["Keine Person ausgwählt!"];};
ctrlShow[88885, false];
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";ctrlShow[88885, true];};
[[life_smartphoneTarget,_msg,player,0],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
hint format["Du hast eine Nachricht an %1 gesendet: %2",name life_smartphoneTarget,_msg];
ctrlShow[88885, true];
closeDialog 88883;
};
//copmessage
case 2:
{
if(({side _x == west} count playableUnits) == 0) exitWith {hint format["Das APD ist derzeit nicht zu erreichen. Bitte versuchen Sie es später nochmal."];};
ctrlShow[888895,false];
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";ctrlShow[888895,true];};
[[ObjNull,_msg,player,1],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
_to = "An das ZAPD";
hint format["Du hast eine Nachricht an %1 gesendet %2",_to,_msg];
ctrlShow[888895,true];
closeDialog 887890;
};
//msgadmin
case 3:
{
ctrlShow[888896,false];
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";ctrlShow[888896,true];};
[[ObjNull,_msg,player,2],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
_to = "An Admin";
hint format["Du hast eine Nachricht an %1 gesendet : %2",_to,_msg];
ctrlShow[888896,true];
closeDialog 887890;
};
//emsrequest
case 4:
{
if(({side _x == independent} count playableUnits) == 0) exitWith {hint format["Zurzeit ist kein Arzt im Dienst. Bitte probiere es später nochmal."];};
ctrlShow[888899,false];
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";ctrlShow[888899,true];};
[[ObjNull,_msg,player,3],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
hint format["Du hast den Notartzt gerufen.",_msg];
ctrlShow[888899,true];
closeDialog 887890;
};
//adminToPerson
case 5:
{
if((call life_adminlevel) < 1) exitWith {hint "Du bist kein Admin!";};
if(isNULL life_smartphoneTarget) exitWith {hint format["Keine Person ausgwählt!"];};
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";};
[[life_smartphoneTarget,_msg,player,4],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
hint format["Admin Nachricht gesendet an: %1 - Message: %2",name life_smartphoneTarget,_msg];
closeDialog 88883;
};
//emergencyloading
case 6:
{
if((__GETC__(life_adminlevel) < 1)) then
{
ctrlShow[888898,false];
ctrlShow[888896,true];
} else {
ctrlShow[888898,true];
ctrlShow[888896,false];
};
};
//adminMsgAll
case 7:
{
if((call life_adminlevel) < 1) exitWith {hint "You are not an admin!";};
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";};
[[ObjNull,_msg,player,5],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
hint format["Admin Nachricht an alle: %1",_msg];
closeDialog 887890;
};
//adacrequest
case 8:
{
if(({side _x == east} count playableUnits) == 0) exitWith {hint format["Zurzeit ist kein ADAC im Dienst. Bitte probiere es später nochmal."];};
ctrlShow[888900,false];
if(_msg == "") exitWith {hint "Du musst eine Nachricht eingeben.";ctrlShow[888900,true];};
[[ObjNull,_msg,player,6],"TON_fnc_handleMessages",false] spawn life_fnc_MP;
hint format["Notruf wurde abgesetzt.",_msg];
ctrlShow[888900,true];
closeDialog 887890;
};
};
Hat jemand eine Lösung für mich wäre nett
Mit Freundlichen Grüßen Harti
sorry, verstehe es grade nicht , war's heimlich kleiner Blackout
Clting_Config
sagt das
/*
* ARRAY FORMAT:
* 0: STRING (Classname)
* 1: STRING (Display Name, leave as "" for default)
* 2: SCALAR (Price)
* 4: ARRAY (This is for limiting items to certain things)
* 0: Variable to read from
* 1: Variable Value Type (SCALAR / BOOL / EQUAL)
* 2: What to compare to (-1 = Check Disabled)
*
* Clothing classnames can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Equipment
* Backpacks/remaining classnames can be found here (TIP: Search page for "pack"): https://community.bistudio.com/wiki/Arma_3_CfgVehicles_EMPTY
*
*/
class Clothing {
class bruce {
title = "STR_Shops_C_Bruce";
license = "";
side = "civ";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_C_Poloshirt_stripped", "Poloshirt stripped", 125, { "", "", -1 } },
{ "U_C_Poloshirt_redwhite", "Poloshirt Red/White", 150, { "", "", -1 } },
{ "U_C_Poloshirt_salmon", "Poloshirt Salmon", 175, { "", "", -1 } },
{ "U_C_Poloshirt_blue", "Poloshirt Blue", 250, { "", "", -1 } },
{ "U_C_Poor_2", "Rag tagged clothes", 250, { "", "", -1 } },
{ "U_C_Poloshirt_burgundy", "Poloshirt Burgundy", 275, { "", "", -1 } },
{ "U_C_Poloshirt_tricolour", "Poloshirt Tricolor", 350, { "", "", -1 } },
{ "U_IG_Guerilla2_2", "Green stripped shirt & Pants", 650, { "", "", -1 } },
{ "U_IG_Guerilla3_1", "Brown Jacket & Pants", 735, { "", "", -1 } },
{ "U_OrestesBody", "Surfing On Land", 1100, { "", "", -1 } },
{ "U_IG_Guerilla2_3", "The Outback Rangler", 1200, { "", "", -1 } },
{ "U_C_HunterBody_grn", "The Hunters Look", 1500, { "", "", -1 } },
{ "U_C_WorkerCoveralls", "Mechanic Coveralls", 2500, { "", "", -1 } },
{ "U_NikosAgedBody", "Casual Wears", 5000, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } },
{ "H_Bandanna_camo", "Camo Bandanna", 120, { "", "", -1 } },
{ "H_Bandanna_surfer", "Surfer Bandanna", 130, { "", "", -1 } },
{ "H_Bandanna_surfer", "", 135, { "", "", -1 } },
{ "H_Bandanna_khk", "Khaki Bandanna", 145, { "", "", -1 } },
{ "H_Cap_blu", "", 150, { "", "", -1 } },
{ "H_Cap_grn", "", 150, { "", "", -1 } },
{ "H_Cap_grn_BI", "", 150, { "", "", -1 } },
{ "H_Cap_oli", "", 150, { "", "", -1 } },
{ "H_Cap_red", "", 150, { "", "", -1 } },
{ "H_Cap_tan", "", 150, { "", "", -1 } },
{ "H_Bandanna_gry", "Grey Bandanna", 150, { "", "", -1 } },
{ "H_Bandanna_sgg", "Sage Bandanna", 160, { "", "", -1 } },
{ "H_Bandanna_cbr", "", 165, { "", "", -1 } },
{ "H_StrawHat", "Straw Fedora", 225, { "", "", -1 } },
{ "H_Hat_tan", "", 265, { "", "", -1 } },
{ "H_Hat_brown", "", 276, { "", "", -1 } },
{ "H_Hat_grey", "", 280, { "", "", -1 } },
{ "H_BandMask_blk", "Hat & Bandanna", 300, { "", "", -1 } },
{ "H_Hat_blue", "", 310, { "", "", -1 } },
{ "H_Hat_checker", "", 340, { "", "", -1 } },
{ "H_Booniehat_tan", "", 425, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } },
{ "G_Shades_Black", "", 20, { "", "", -1 } },
{ "G_Shades_Blue", "", 20, { "", "", -1 } },
{ "G_Shades_Green", "", 20, { "", "", -1 } },
{ "G_Shades_Red", "", 20, { "", "", -1 } },
{ "G_Sport_Blackred", "", 25, { "", "", -1 } },
{ "G_Sport_BlackWhite", "", 25, { "", "", -1 } },
{ "G_Sport_Blackyellow", "", 25, { "", "", -1 } },
{ "G_Sport_Checkered", "", 25, { "", "", -1 } },
{ "G_Sport_Greenblack", "", 25, { "", "", -1 } },
{ "G_Sport_Red", "", 25, { "", "", -1 } },
{ "G_Lowprofile", "", 30, { "", "", -1 } },
{ "G_Squares", "", 50, { "", "", -1 } },
{ "G_Aviator", "", 100, { "", "", -1 } },
{ "G_Combat", "", 125, { "", "", -1 } },
{ "G_Lady_Mirror", "", 150, { "", "", -1 } },
{ "G_Lady_Dark", "", 150, { "", "", -1 } },
{ "G_Lady_Blue", "", 150, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } },
{ "B_OutdoorPack_blk", "", 500, { "", "", -1 } },
{ "B_AssaultPack_khk", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_dgtl", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_rgr", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_sgg", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_blk", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_cbr", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_mcamo", "", 2000, { "", "", -1 } },
{ "B_TacticalPack_oli", "", 2500, { "", "", -1 } },
{ "B_Kitbag_mcamo", "", 3500, { "", "", -1 } },
{ "B_Kitbag_sgg", "", 3500, { "", "", -1 } },
{ "B_Kitbag_cbr", "", 3500, { "", "", -1 } },
{ "B_FieldPack_blk", "", 5000, { "", "", -1 } },
{ "B_FieldPack_ocamo", "", 5000, { "", "", -1 } },
{ "B_FieldPack_oucamo", "", 5000, { "", "", -1 } },
{ "B_Bergen_sgg", "", 6500, { "", "", -1 } },
{ "B_Bergen_mcamo", "", 6500, { "", "", -1 } },
{ "B_Bergen_rgr", "", 6500, { "", "", -1 } },
{ "B_Bergen_blk", "", 6500, { "", "", -1 } },
{ "B_Carryall_ocamo", "", 7500, { "", "", -1 } },
{ "B_Carryall_oucamo", "", 7500, { "", "", -1 } },
{ "B_Carryall_mcamo", "", 7500, { "", "", -1 } },
{ "B_Carryall_oli", "", 7500, { "", "", -1 } },
{ "B_Carryall_khk", "", 7500, { "", "", -1 } },
{ "B_Carryall_cbr", "", 7500, { "", "", -1 } }
};
};
class cop {
title = "STR_Shops_C_Police";
license = "";
side = "cop";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_Rangemaster", "Cop Uniform", 25, { "", "", -1 } },
{ "U_B_CombatUniform_mcam", "", 350, { "life_coplevel", "SCALAR", 2 } },
{ "U_B_CombatUniform_mcam_worn", "", 550, { "life_coplevel", "SCALAR", 2 } },
{ "U_B_survival_uniform", "", 1250, { "life_coplevel", "SCALAR", 1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } },
{ "H_Cap_police", "", 25, { "", "", -1 } },
{ "H_Beret_blk_POLICE", "", 50, { "life_coplevel", "SCALAR", 2 } },
{ "H_HelmetB_plain_mcamo", "", 75, { "life_coplevel", "SCALAR", 1 } },
{ "H_MilCap_mcamo", "", 100, { "life_coplevel", "SCALAR", 2 } },
{ "H_Booniehat_mcamo", "", 120, { "life_coplevel", "SCALAR", 1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } },
{ "G_Squares", "", 10, { "", "", -1 } },
{ "G_Shades_Blue", "", 20, { "", "", -1 } },
{ "G_Sport_Blackred", "", 20, { "", "", -1 } },
{ "G_Sport_Checkered", "", 20, { "", "", -1 } },
{ "G_Sport_Blackyellow", "", 20, { "", "", -1 } },
{ "G_Sport_BlackWhite", "", 20, { "", "", -1 } },
{ "G_Shades_Black", "", 25, { "", "", -1 } },
{ "G_Lowprofile", "", 30, { "", "", -1 } },
{ "G_Combat", "", 55, { "", "", -1 } },
{ "G_Aviator", "", 100, { "", "", -1 } },
{ "G_Lady_Mirror", "", 150, { "", "", -1 } },
{ "G_Lady_Dark", "", 150, { "", "", -1 } },
{ "G_Lady_Blue", "", 150, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } },
{ "V_Rangemaster_belt", "", 800, { "", "", -1 } },
{ "V_TacVest_blk_POLICE", "", 1000, { "life_coplevel", "SCALAR", 1 } },
{ "V_PlateCarrier2_rgr", "", 1500, { "life_coplevel", "SCALAR", 2 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } },
{ "B_FieldPack_cbr", "", 500, { "", "", -1 } },
{ "B_AssaultPack_cbr", "", 700, { "", "", -1 } },
{ "B_Kitbag_cbr", "", 800, { "", "", -1 } },
{ "B_Bergen_sgg", "", 2500, { "", "", -1 } },
{ "B_Carryall_cbr", "", 3500, { "", "", -1 } },
{ "ACE_gunbag_Tan", "", 1250, { "life_coplevel", "SCALAR", 1 } },
{ "ACE_TacticalLadder_Pack", "", 1250, { "life_coplevel", "SCALAR", 1 } },
{ "ACE_gunbag", "", 1250, { "life_coplevel", "SCALAR", 1 } }
};
};
class dive {
title = "STR_Shops_C_Diving";
license = "dive";
side = "civ";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_B_Wetsuit", "", 2000, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } },
{ "G_Diving", "", 500, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } },
{ "V_RebreatherB", "", 5000, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } }
};
};
class gun_clothing {
title = "STR_Shops_C_Gun";
license = "gun";
side = "civ";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } },
{ "V_Rangemaster_belt", "", 4900, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } }
};
};
class gang_clothing {
title = "STR_Shops_C_Gang";
license = "";
side = "civ";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } },
{ "V_Rangemaster_belt", "", 1900, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } }
};
};
class med_clothing {
title = "STR_MAR_EMS_Clothing_Shop";
license = "";
side = "med";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_C_Scientist", "RuP Uniform", 50, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } },
{ "H_Cap_blu", "", 10, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } },
{ "G_Shades_Blue", "", 10, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } },
{ "B_FieldPack_oli", "EMS Backpack", 3000, { "", "", -1 } }
};
};
class reb {
title = "STR_Shops_C_Rebel";
license = "rebel";
side = "civ";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_IG_Guerilla1_1", "", 5000, {"", "", -1} },
{ "U_I_G_Story_Protagonist_F", "", 7500, { "", "", -1 } },
{ "U_I_G_resistanceLeader_F", "", 11500, { "", "", -1 } },
{ "U_IG_leader", "Guerilla Leader", 15340, { "", "", -1 } },
{ "U_O_PilotCoveralls", "", 15610, { "", "", -1 } },
{ "U_O_SpecopsUniform_ocamo", "", 17500, { "", "", -1 } },
{ "U_O_GhillieSuit", "", 50000, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } },
{ "H_Bandanna_camo", "", 650, { "", "", -1 } },
{ "H_ShemagOpen_khk", "", 800, { "", "", -1 } },
{ "H_ShemagOpen_tan", "", 850, { "", "", -1 } },
{ "H_Shemag_olive", "", 850, { "", "", -1 } },
{ "H_MilCap_oucamo", "", 1200, { "", "", -1 } },
{ "H_HelmetO_ocamo", "", 2500, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } },
{ "G_Shades_Black", "", 20, { "", "", -1 } },
{ "G_Shades_Blue", "", 20, { "", "", -1 } },
{ "G_Sport_Blackred", "", 25, { "", "", -1 } },
{ "G_Sport_Checkered", "", 25, { "", "", -1 } },
{ "G_Sport_Blackyellow", "", 25, { "", "", -1 } },
{ "G_Sport_BlackWhite", "", 25, { "", "", -1 } },
{ "G_Lowprofile", "", 30, { "", "", -1 } },
{ "G_Squares", "", 50, { "", "", -1 } },
{ "G_Combat", "", 125, { "", "", -1 } },
{ "G_Balaclava_blk", "", 150, { "", "", -1 } },
{ "G_Balaclava_combat", "", 150, { "", "", -1 } },
{ "G_Balaclava_lowprofile", "", 150, { "", "", -1 } },
{ "G_Balaclava_oli", "", 150, { "", "", -1 } },
{ "G_Bandanna_aviator", "", 150, { "", "", -1 } },
{ "G_Bandanna_beast", "", 150, { "", "", -1 } },
{ "G_Bandanna_blk", "", 150, { "", "", -1 } },
{ "G_Bandanna_khk", "", 150, { "", "", -1 } },
{ "G_Bandanna_oli", "", 150, { "", "", -1 } },
{ "G_Bandanna_shades", "", 150, { "", "", -1 } },
{ "G_Bandanna_sport", "", 150, { "", "", -1 } },
{ "G_Bandanna_tan", "", 150, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } },
{ "V_BandollierB_cbr", "", 4500, { "", "", -1 } },
{ "V_HarnessO_brn", "", 7500, { "", "", -1 } },
{ "V_TacVest_khk", "", 12500, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } },
{ "B_OutdoorPack_blk", "", 500, { "", "", -1 } },
{ "B_AssaultPack_khk", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_dgtl", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_rgr", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_sgg", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_blk", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_cbr", "", 2000, { "", "", -1 } },
{ "B_AssaultPack_mcamo", "", 2000, { "", "", -1 } },
{ "B_TacticalPack_oli", "", 2500, { "", "", -1 } },
{ "B_Kitbag_mcamo", "", 3500, { "", "", -1 } },
{ "B_Kitbag_sgg", "", 3500, { "", "", -1 } },
{ "B_Kitbag_cbr", "", 3500, { "", "", -1 } },
{ "B_FieldPack_blk", "", 5000, { "", "", -1 } },
{ "B_FieldPack_ocamo", "", 5000, { "", "", -1 } },
{ "B_FieldPack_oucamo", "", 5000, { "", "", -1 } },
{ "B_Bergen_sgg", "", 6500, { "", "", -1 } },
{ "B_Bergen_mcamo", "", 6500, { "", "", -1 } },
{ "B_Bergen_rgr", "", 6500, { "", "", -1 } },
{ "B_Bergen_blk", "", 6500, { "", "", -1 } },
{ "B_Carryall_ocamo", "", 7500, { "", "", -1 } },
{ "B_Carryall_oucamo", "", 7500, { "", "", -1 } },
{ "B_Carryall_mcamo", "", 7500, { "", "", -1 } },
{ "B_Carryall_oli", "", 7500, { "", "", -1 } },
{ "B_Carryall_khk", "", 7500, { "", "", -1 } },
{ "B_Carryall_cbr", "", 7500, { "", "", -1 } }
};
};
class kart {
title = "STR_Shops_C_Kart";
license = "";
side = "civ";
uniforms[] = {
{ "NONE", "Remove Uniform", 0, { "", "", -1 } },
{ "U_C_Driver_1_black", "", 1500, { "", "", -1 } },
{ "U_C_Driver_1_blue", "", 1500, { "", "", -1 } },
{ "U_C_Driver_1_red", "", 1500, { "", "", -1 } },
{ "U_C_Driver_1_orange", "", 1500, { "", "", -1 } },
{ "U_C_Driver_1_green", "", 1500, { "", "", -1 } },
{ "U_C_Driver_1_white", "", 1500, { "", "", -1 } },
{ "U_C_Driver_1_yellow", "", 1500, { "", "", -1 } },
{ "U_C_Driver_2", "", 3500, { "", "", -1 } },
{ "U_C_Driver_1", "", 3600, { "", "", -1 } },
{ "U_C_Driver_3", "", 3700, { "", "", -1 } },
{ "U_C_Driver_4", "", 3700, { "", "", -1 } }
};
headgear[] = {
{ "NONE", "Remove Hat", 0, { "", "", -1 } },
{ "H_RacingHelmet_1_black_F", "", 1000, { "", "", -1 } },
{ "H_RacingHelmet_1_red_F", "", 1000, { "", "", -1 } },
{ "H_RacingHelmet_1_white_F", "", 1000, { "", "", -1 } },
{ "H_RacingHelmet_1_blue_F", "", 1000, { "", "", -1 } },
{ "H_RacingHelmet_1_yellow_F", "", 1000, { "", "", -1 } },
{ "H_RacingHelmet_1_green_F", "", 1000, { "", "", -1 } },
{ "H_RacingHelmet_1_F", "", 2500, { "", "", -1 } },
{ "H_RacingHelmet_2_F", "", 2500, { "", "", -1 } },
{ "H_RacingHelmet_3_F", "", 2500, { "", "", -1 } },
{ "H_RacingHelmet_4_F", "", 2500, { "", "", -1 } }
};
goggles[] = {
{ "NONE", "Remove Glasses", 0, { "", "", -1 } }
};
vests[] = {
{ "NONE", "Remove Vest", 0, { "", "", -1 } }
};
backpacks[] = {
{ "NONE", "Remove Backpack", 0, { "", "", -1 } }
};
};
};
Hay, ich habe ein problem ,
ich bekomme einfach kein Skin auf meine Uniform
ich habe mich im Internet / Froum schlau gemacht und nach geschaut hab was gefunden habe es versucht aber leider hat dies nicht geklappt
habe euch mal meine Playerskins.sqf angehangen
#include "..\..\script_macros.hpp"
/*
File: fn_playerSkins.sqf
Author: Daniel Stuart
Description:
Sets skins for players by their side and uniform.
*/
private["_skinName"];
switch (playerSide) do {
case civilian: {
if (LIFE_SETTINGS(getNumber,"civ_skins") isEqualTo 1) then {
if (uniform player isEqualTo "U_C_Poloshirt_blue") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_1.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_burgundy") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_2.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_stripped") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_3.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_tricolour") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_4.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_salmon") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_5.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_redwhite") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_6.jpg"];
};
if (uniform player isEqualTo "U_C_Commoner1_1") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_7.jpg"];
};
};
};
case west: {
if (uniform player isEqualTo "U_Rangemaster") then {
_skinName = "textures\cop_uniform.jpg";
if (LIFE_SETTINGS(getNumber,"cop_extendedSkins") isEqualTo 1) then {
if (FETCH_CONST(life_coplevel) >= 1) then {
_skinName = ["textures\cop_uniform_",(FETCH_CONST(life_coplevel)),".jpg"] joinString "";
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
_skinName = "textures\cop\polizei_uniform.jpg";
if (LIFE_SETTINGS(getNumber,"cop_extendedSkins") isEqualTo 1) then {
if (FETCH_CONST(life_coplevel) >= 1) then {
_skinName = ["textures\cop\polizei_uniform_",(FETCH_CONST(life_coplevel)),".jpg"] joinString "";
if (uniform player isEqualTo "U_B_CombatUniform_mcam_worn") then {
_skinName = "textures\cop\polizei_uniform.jpg";
};
};
case independent: {
if (uniform player isEqualTo "U_C_Scientist") then {
player setObjectTextureGlobal [0, "textures\rup\rup_uniform.jpg"];
};
};
};
versuch ich dann mal am We ob das villt daran liegt, und die anderen Tserer benutzen die gleiche TAzer muni
@T.Wolf
@T.Wolf
CAB_A3 habe ich auf dem server schon
hast du die Classname von den Taser und Muniart für mich villt , hab ich falsche classnamen
@T.Wolf
könntest du mir ein Link von diesem Mod geben?
ich hab zwei mal gedownloden , trotzdem bekomm ich bei mein Mod Taser immer fehlermeldung
okay, @br1zey
kennst du ein taser Mod
@xonex
kennst du dich mit dem Mod aus bekomme son fehler aber kp warum
werd ich dann anhängen , mach aber erst mal noch meine Map weiter
ja die Projektile ,mein ich ja , die classnames hab ich auch aus Probiert
Hay,
kann mir jemand sagen warum bei mir keine Magazine für den TAser zu kaufen geht
Mod : http://www.armaholic.com/page.php?id=18624
habe Classnamen eingetragen
-taser kann man kaufen
-aber keine Muni
muss ich den TAser mod noch örgen wo instalieren oder nur einfügen
-@ einfügen
- [lexicon]Startparameter[/lexicon] eintragen
- Key eintragen
PS.Anhang
Vielen dank @Rom
Durch die Hilfe von Rom wurde der fehler behoben.
Beitrag kann als Beendet und Erledigt angesehen werden
wenn das als cop und Civ auch so is was muss ich da tun?
Sorry, wenn die Fehler noch vom Anfang sind , wir hatten die Probleme schon seit dem der Aufgesetzt wurde .
Aber sorry , das ich wegen Sachen frage ich ich nicht hin bekomme!
PS: Wenn du net helfen willst dann den Beitrag einfach Ignorieren. Oder was schreiben was hilft, außer du hast Probleme mit anderen !
die immer so zu nerven, denn is ja net das erste mal , deine Kommentare bringen keinen was die sind einfach grad nur sinnlos !
PS: MEINE MEINUNG
Mit Freundlichen grüssen Harti
wenn du meinst dann bitte , ich kann mit so Einer Aussage 100% Leben , denn ich mach mir da kein Kopf draus , denn ich hab nun mal Probleme beim schreiben. Und wenn es dir nicht passt dann haste Pech.
PS: denk Vielleicht mal nach , was deine Aussage mit meinem Problem auf dem Server zu tun hat .
Werde es dann gleich an heften , sobald ich am PC bin
Mit Freundlichen Grüssen Harti
Hay, habe alle Ace 3 sachen die ich brauch aufm Serever , habe alles so eingefügt wie es beschrieben wurde
ich kann es kaufen sagen wir mal 15 Stück kauf ich dann benutze ich eins an mir selbst , dann sind die restlichen alle weg
wisst Ihr was das Problem sein könnte.
Ich sehe in dem LOG das ein Error immer beim benutzen auf gekommen ist, leider kann ich mit dieser Fehlermeldung nichts anfangen, habe nichts am Mod gemacht auser auf server geladen und den Key in den Ordner Keys eingefügt und den Mod in die [lexicon]Startparameter[/lexicon] eingetragen.