Ich geh mal davon aus du hast auch "wirklich" 4.0
Code
switch(true) do {
case (_zone in ["apple_1","apple_2","apple_3","apple_4"]): {_gather = ["apple",3];};
case (_zone in ["peaches_1","peaches_2","peaches_3","peaches_4"]): {_gather = ["peach",3];};
case (_zone in ["heroin_1"]): {_gather = ["heroin_unprocessed",1];};
case (_zone in ["cocaine_1"]): {_gather = ["cocaine_unprocessed",1];};
case (_zone in ["weed_1"]): {_gather = ["cannabis",1];};
case (_zone in ["gummi_1","gummi_2"]): {_gather = ["gummi",2];};
default {""};
};
//gather check??
if(vehicle player != player) exitWith {};
/////////////////////////////////////////// der hauptpart...
if (_zone in ["apple_1","apple_2","apple_3","apple_4","peaches_1","peaches_2","peaches_3","peaches_4"]) then {
//
[[player,"DEIN KOMISCHER PFLÜCKSOUND"],"life_fnc_say3D",true,false] spawn life_fnc_MP;
};
Alles anzeigen
Ist eine einfache Lösung und du kannst selbst bestimmen welche Zonen die Sounds haben sollen.