Jump to content

se7en

Member
  • Content Count

    47
  • Joined

  • Last visited

  1. I guess that speed 2 is somewhat only for zombies that dont have aggro, so forcing speed -2- is denying them from chasing u.
  2. Hi What am i doing wrong ? _inventory = items player; _count = count _inventory; for "_i" from 0 to (_count -1) do { _item = _inventory select _i; _showitem = _showitem + _item + "\n"; }; hintSilent format ["%1", _showitem]; EDIT: t/c { _showitem = _showitem + _x + "\n"; }foreach (magazines player); hintSilent format ["%1", _showitem]; works ;D
  3. se7en

    LOGISTIC - TOW / LIFT

    Any fix on this? It happens to me as well, even on clean install too. Actually thats pretty sad that if people go on missions with heli lifting truck lifted, so when they land without dropping truck first, they cant use it, then they must wait to server restart to move truck to previous position and so on... Or maybe any idea to deny player changing seat/leaving heli WHEN object is lifted?
  4. se7en

    Infistar addon, possible alone?

    Sooo could someone share it if possible ? :>
  5. Im using that version but there is a problem. When i start using it, whenever ANY player joins a game he gets like 5-10seconds freeze... When i disable this addons, all works fine - no freezes. What could be solution of that? RPTs client/server are clean.
  6. se7en

    Keep spamming in RPT with undefined variable

    Oh, i will use the same topic, because my next problem is very similar. I got atm in my variables.sqf something like: vips = [12345,12345,12345]; and its working great, but i would like to make it in another file. For example lets say i got file named viplist.sqf with this line above Tried using #include custom\viplist.sqf in variables.sqf but its not working (more likely none variables in variables.sqf are working when i put this #include) How can i make some variables in another files?
  7. se7en

    Infistar addon, possible alone?

    Hi there, maybe topic title doesnt say much but i will try to explain what i need there: Pretty simple, i would like to make something like this: But without using INFISTAR. Is this possible?
  8. se7en

    Keep spamming in RPT with undefined variable

    thanks mate! that helped me a lot ;) Now i see real errors ;)
  9. Wrote simple Menu option to show but i keep getting errors (but it is working) I pasted in fn_selfActions.sqf if ((speed player <= 1) && _canDo) then { if (s_player_walk < 0) then { s_player_walk = player addaction [("<t color=""#ffa500"">" + ("Auto") + "<t color=""#ffffff"">" + (" Walk") + "</t>"),"custom\tools\automove.sqf","",5,false,true,"",""]; }; } else { player removeAction s_player_walk; s_player_walk = -1; }; IT works, but keep spamming in client's RPT: Error in expression <peed player <= 1) && _canDo) then { if (s_player_walk < 0) then { s_player_w> Error position: <s_player_walk < 0) then { s_player_w> Error Undefined variable (in sentence i guess): s_player_walk File mpmissions\__CUR_MP.Chernarus\custom\fn_selfActions.sqf, line 19 Why these errors are kinda bugged and why they are even there?
  10. For anyone that use AdminEpochTools - to add custom option to menu: First Edit: Epoch\MPMissions\DayZ_Epoch_11.Chernarus\admintools\AdminToolsMain.sqf Add: ["Admin Skin",[],"", -5, [["expression", format[_EXECscript1,"adminskin.sqf"]]], "1", "1"], somewhere u want this menu to appear. Create adminskin.sqf in Epoch\MPMissions\DayZ_Epoch_11.Chernarus\admintools\tools\ folder and Paste this in: PVOZ_adminSkin = [player , "gui\admin.jpg" ]; // (or color , "#(argb,1,1,1)color(0,0,0,1)" ) publicVariable "PVOZ_adminSkin"; player setObjectTexture [0, "gui\admin.jpg"]; // (to also see it yourself) player setVariable["adminated",1,true]; Dont forget to change "gui\admin.jpg" to point location of ur Admin Texture. ;)
  11. se7en

    [Request/Help] Autowalk?

    Hi there! I would like to give my players ability to press option menu and start autorunning with ability to stop running while press 'V' or even by just pressing movement key? _action = _this select 0; player playMoveNow _action; cutText["Press V to cancel movement","PLAIN DOWN"]; So what action to make it autowalk? Or maybe other way to do it? :)
  12. wish that was true but i SEE my mistakes and i know there are mistakes. For example propably the custom\laser\mark.sqf is more like fcked up for real. While laser_init.sqf can be good actually because i dont see mistakes in there. @DangerRuss: Ok, but nope, still need what im doing ;D And i believe that would be useful for some other players as well. Imagine group of players (5-6) where 1 is sniper with laser designator and there are for example some rocketmans so sniper can mark positions of the marked targets to others. Obviously that would be nice if there will be mark like "shift clicking" is making mark.
  13. se7en

    No Action to Open Safe?

    Are you using Vectors as well? There is an issue with Vaults while using Vectors If you do: 1# Fix: 2# Fix:
  14. se7en

    BEC not reading Scheduler

    Are u sure BEC is running? Try using BEC.exe while server is running to check if there are no error messages. And comparing ur sheduler to mine i see some differences. Not sure if its gonna help you cause im newbie: Your Task: <job id="4"> <day>1,2,3,4,5,6,7</day> <start>025800</start> <runtime>030000</runtime> <loop>-1</loop> <cmd> say -1 Server Restart in 2 Mins LOG OFF NOW!</cmd> </job> My Task: <job id='39'> <day>1,2,3,4,5,6,7</day> <start>02:59:00</start> <runtime>000000</runtime> <loop>0</loop> <cmd>say -1 This server will restart in 1 minute, Log out now!</cmd> </job> Hope this can help u somehow
  15. Ok ill try this topic to make some my thoughts. If any of you will notice any my BIG mistake, please correct me. laser_init.sqf: _hasLaser = false; while {true} do { private ["_hasLaser","_inventory","_currentWeapon"]; _inventory = items player; _currentWeapon = primaryWeapon player; _hasLaser = false; if ((_currentWeapon == "LaserDesignator") || ("LaserDesignator" in _inventory)) then { _hasLaser=true; // }; if (_hasLaser && _typeOfCursorTarget in MarkableTargets && s_marking < 0) then { s_mark = player addaction [("<t color=""#0074E8"">" + ("Mark Target") +"</t>"),"custom\laser\mark.sqf","_cursorTarget",1,true,true,"",""]; } else { player removeAction s_mark; s_marking = -1; }; sleep 5; And my custom\laser\mark.sqf: private["_targetPosition","_targetVehicle"]; VehicleToMark = _this select 1; _targetPosition = getPosATL VehicleToMark; _targetVehicle = VehicleToMark; _vehicleName = gettext (configFile >> "CfgVehicles" >> (typeof _targetVehicle) >> "displayName"); _Marker = "vehicleMarker" + (str _i); _vehicleMarker = createMarkerLocal [_Marker,[(_targetPosition select 0),(_targetPosition select 1)]]; _vehicleMarker setMarkerShapeLocal "ICON"; _vehicleMarker setMarkerTypeLocal "DOT"; _vehicleMarker setMarkerColorLocal ColorOrange; _vehicleMarker setMarkerSizeLocal [1.0, 1.0]; _vehicleMarker setMarkerTextLocal format [" %1: %2 spotted!",name player,_vehicleName]; variables.sqf: MarkableTargets = [ "Kamaz" ]; So basically i know i made there MANY mistakes. I hope you can help me with this as this is goin to be my first script, and/or if someone want to make it - feel free. And the marker is displayed Locally - just for guy who marks, dont know how to make a mark on group channel...
×