Jump to content

coresync

Member
  • Content Count

    45
  • Joined

  • Last visited

  • Days Won

    1

coresync last won the day on January 8 2017

coresync had the most liked content!

About coresync

  • Rank
    Survivor

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @juandayz so it is working, without server_deleteobj /* rewrited by juandayz for epoch 1.6 put together for DayZ Epoch Credits to Shogun338 from Insurrection gaming modified for separate "gather weed" script */ private ["_gearmenu","_playerPos","_nearWeed","_weed","_objectID","_objectUID"]; _playerPos = getPosATL player; _hempqty = {_x == "ItemKiloHemp"} count magazines player; _nearWeed = count nearestObjects [_playerPos, ["fiberplant"], 4] > 0; _weed = nearestObject [player, "fiberplant"]; if !(_nearWeed) exitWith { systemChat("Needs be near of a FiberPlant"); }; if (_hempqty > 2) exitWith { systemChat("YOure Full of Drugs"); }; disableSerialization; _gearmenu = FindDisplay 106; _gearmenu CloseDisplay 106; player playActionNow "Medic"; r_interrupt = false; sleep 6; _objectID = _weed getVariable["ObjectID","0"]; _objectUID = _weed getVariable["ObjectUID","0"]; deleteVehicle _weed; // [_objectID,_objectUID] call server_deleteObj; deleteVehicle _weed; PVDZ_obj_Destroy = [_objectID,_objectUID,_weed]; publicVariableServer "PVDZ_obj_Destroy"; player addMagazine "ItemKiloHemp"; sleep 2; systemChat("NICE LETS SMOKE OR SELL");
  2. Error in expression <icle _weed; [_objectID,_objectUID] call server_deleteObj; deleteVehicle _weed; P> Error position: <server_deleteObj; deleteVehicle _weed; P> Error Nicht definierte Variable in Ausdruck: server_deleteobj <- clientsite RPT
  3. [_objectID,_objectUID] call server_deleteObj; dont work server_deleteobj need [_objectID,_objectUID,_XXXXXXX] call server_deleteObj;
  4. @oldmatechoc where i add this ? so? if !(_nearWeed) exitWith { systemChat("Needs be near of a FiberPlant"); }; if (_hempqty > 2) exitWith { systemChat("Youre Full of Drugs"); }; disableSerialization; _gearmenu = FindDisplay 106; _gearmenu CloseDisplay 106; player playActionNow "Medic"; r_interrupt = false; sleep 6; if (isServer) then { PVDZE_obj_Delete call server_deleteObj; } else { PVDZE_obj_Delete = [_objectID,_objectUID,_activatingPlayer]; publicVariableServer "PVDZE_obj_Delete"; }; player addMagazine "ItemKiloHemp"; sleep 2; systemChat("NICE LETS SMOKE OR SELL");
  5. Error in expression <icle _weed; [_objectID,_objectUID] call server_deleteObj; deleteVehicle _weed; P> Error position: <server_deleteObj; deleteVehicle _weed; P> Error Nicht definierte Variable in Ausdruck: server_deleteobj File mpmissions\__CUR_MP.Chernarus\Scripts\drugs\cuthemp.sqf, line 36 :-(
  6. 1.0.6 have all for simple curreny all you need are mission files for coins
  7. try this Ok, open rules.sqf and add this complete code private ["_messages","_timeout","_isHero","_humanity","_isBandit"]; waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")}; _humanity = player getVariable ["humanity",0]; _isBandit = _humanity < -5000; _isHero = _humanity > 5000; if (_isHero) then { DefaultMagazines = ["ItemMap","HandRoadFlare","ItemBandage","ItemPainkiller","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"]; DefaultWeapons = ["Makarov_DZ","ItemFlashlight"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"]; }; if (_isBandit) then { DefaultMagazines = ["ItemMap","HandRoadFlare","ItemBandage","ItemPainkiller","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"]; DefaultWeapons = ["Makarov_DZ","ItemFlashlight"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"]; }else{ DefaultMagazines = ["ItemMap","HandRoadFlare","ItemBandage","ItemPainkiller","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"]; DefaultWeapons = ["Makarov_DZ","ItemFlashlight"]; DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackItems = []; // Can include both weapons and magazines i.e. ["PDW_DZ","30Rnd_9x19_UZI"]; }; _messages = [ ["DayZ Epoch", "Welcome "+(name player)], ["World", worldName], ["Teamspeak", "some TS info"], ["Website/Forums", "some website info"], ["Server Rules", "Duping, glitching or using any<br />exploit will result in a<br />permanent ban."], ["Server Rules", "No talking in side."], ["Server Rules", "Hackers will be banned permanently<br />Respect others"], ["News", "Some random new info!<br />Random news<br />"] ]; _timeout = 5; { private ["_title","_content","_titleText"]; uiSleep 2; _title = _x select 0; _content = _x select 1; _titleText = format[("<t font='TahomaB' size='0.40' color='#a81e13' align='right' shadow='1' shadowColor='#000000'>%1</t><br /><t shadow='1'shadowColor='#000000' font='TahomaB' size='0.60' color='#FFFFFF' align='right'>%2</t>"), _title, _content]; [ _titleText, [safezoneX + safezoneW - 0.8,0.50], //DEFAULT: 0.5,0.35 [safezoneY + safezoneH - 0.8,0.7], //DEFAULT: 0.8,0.7 _timeout, 0.5 ] spawn BIS_fnc_dynamicText; uiSleep (_timeout * 1.1); } forEach _messages; and try again
  8. @chargedlight1 pls post your complete init.sqf as code sting here.
  9. you added the "private ? private ["_isHero","_humanity","_isBandit"};
×
×
  • Create New...