• Content count

  • Joined

  • Last visited

  • Medals

Community Reputation

112 Excellent

About M1ke_SK

  • Rank
    Staff Sergeant

Contact Methods

  • Website URL
  • Skype
  • Twitter
  • Youtube
  • Steam url id

Profile Information

  • Gender
  1. I managed to create simple kill feed, but need some queue.
  2. BIS_fnc_admin is not yet in stable branch
  3. isDedicated is your friend https://community.bistudio.com/wiki/isDedicated
  4. Put those codes into files and then call them from debug console.
  5. Does this have hiddenTextures ? so we can re-skin it?
  6. Yes, that I was talking about. The mighty select function :D
  7. Maybe some solution: Add x number of "0" before number and trim last 3 digits. Example: "11" > "000000000011" > "011"
  8. I have number as string. I want to add zeroes to number. Example: "1" => "001", "11" => "011" Any slick function for that? Possibly without some loop. _number = "11"; for "_i" from (count _number) to 2 do { _number = "0" + _number; };
  9. I have created control in mission: with uiNamespace do { [] spawn { waitUntil {!isNull findDisplay 46}; disableSerialization; _ctrl = findDisplay 46 ctrlCreate ["RscStructuredText", -1]; _ctrl ctrlSetPosition [x, y, w, h]; _ctrl ctrlCommit 0; while { true } do { _ctrl ctrlSetStructuredText parseText format ["myText: %1", valueFromSomeWhere]; }; }; }; Problem: Every time, when I reset game this control is created again and again and it is over-placing previous control. Question: Is there a way to check if control exist and if not, create new one? Note: should I set id (-1 in this case) of this control ?
  10. Thank you for sharing. Litte change where you _vehicles spawn { and then params ["_vehicles"]; you can use _this instead. Pointless to generate private _vehicles when you got it already in _this https://community.bistudio.com/wiki/Code_Optimisation#Fewer_statements_.3D.3E_faster_code
  11. if (serverCommandAvailable "#kick") then { //admin only }; or if (getPlayerUID unit in [123456789, 0000000]) { //only player with ID } or in near future (v1.69) use function BIS_fnc_admin https://community.bistudio.com/wiki/BIS_fnc_admin
  12. I have params defined like this: params ["_object", ["_code", {}]]; Question: how to check if there is some code? if !(_code isEqualTo "") then { _object spawn _code; };
  13. I checked altitude. Scooter is on the water. I even tried to control unit with zeus to see if not stuck. I drive with no problem with zeus, but when release controls to unit, it is still not moving.
  14. I recently was solving SAVING gear from container and sync it with other containers. For example as when you pick up something from one hideout ammo box, it will remove/add it from all hideout ammo boxes at once. Here is little snippet to showcase functionality. Pretty useful when you share same gear with different locations.