Welcome to Altis Life RPG

Register now to gain access to all of our features.
Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.


Note that you can now sign-in with your Steam account.


This message will be removed once you have signed in.

  • Announcements

    • Rozo

      Donations   09/18/2016

      Hello,
        We've added a donation block on the right side. All of those donation goes directly to the developer of Altis Life mod ( currently BoGuu ). None of that money is used to maintain the forum. In the future we might add a donation button to support the forum, but for now we want to encourage the developer because they went through a lot. To discuss this topic - Here
    • Shakir Darwish

      IS YOUR SERVER BROKEN SINCE 1.64 UPDATE?   09/22/2016

      If your server is broken since 1.64 go check this link thanks. https://github.com/AsYetUntitled/Framework/issues/104
    • Rozo

      Sad Day   01/04/2017

      Good evening community of Altis Life RPG, Today was a sad day. We learned the hard way that one of the helper was using his status and visibility on the forum to do things i wouldn't imagine.  We were warned about this user in the beginning, we talked about his behavior and he said that they were things of the past. We were fooled.
      Unfortunately, he fooled other community members by selling stolen content and impersonating his role as a developer in another community. Here's a remember of one of the rules on our forum, No selling scripts, snippets, or services.   So if anyone come across someone who's selling his services, scripts or whatever, Report them. Especially if it's coming from an Helper, Mod, Admin. No one in the staff should ask for money, we already mention this when we reopened the forum and that rule is here to stay.

      We can't be sorry enough for what happen here, for any harm it as caused among other communities, for money that shouldn't been spent and we truly hope this doesn't happen again.

      As for the user in question, he is now banned from our forum and discord and we wish to never cross his path again.
        If there's anything we can do hit us on Discord or send a message to an admin.
      Thanks, Rozo.

Leaderboard


Popular Content

Showing most liked content since 12/10/2017 in all areas

  1. 3 points
    Use acction physical inventory Open Functions.hpp and add on "class Actions" class dblclick2 {}; Then go to core\actions and create fn_dblclick2.sqf and add this code: /* Author: TerraGaming forum: www.terragaming.es */ life_fnc_dblClick = { _idc = ctrlIDC (_this select 0); _selectedIndex = _this select 1; _data = format ["%1",lbData [_idc, _selectedIndex]]; //CLASE DEL OBJETO _text = format ["%1",lbText [_idc, _selectedIndex]]; _value = format ["%1",lbValue [_idc, _selectedIndex]]; //// case "IDITEM": {hint "gg"; ["IDITEM", -1] spawn life_thirst = 100;}; // /ACTION\ switch (_data) do { case "wather": {hint "gg"; ["wather", -1] spawn life_thirst = 100;}; }; false }; while {true} do { waituntil {!(isnull (findDisplay 602))}; ((findDisplay 602) displayCtrl 633) ctrlSetEventHandler ["LBDblClick", "_this call life_fnc_dblClick"]; // uniform ((findDisplay 602) displayCtrl 638) ctrlSetEventHandler ["LBDblClick", "_this call life_fnc_dblClick"]; // vest ((findDisplay 602) displayCtrl 619) ctrlSetEventHandler ["LBDblClick", "_this call life_fnc_dblClick"]; // backpak // ((findDisplay 602) displayCtrl 640) ctrlSetEventHandler ["LBDblClick", "_this call life_fnc_dblClick"]; // ground waituntil {isnull (findDisplay 602)}; }; This is my script of planting system, you can do with water, food, for all of objects
  2. 3 points
    I appoligize if this not where I post app but I'm very interested in becoming a recruit EMT or Police officer..
  3. 2 points
    BY: Our New Green Island RP Server COMING 2018 CUSTOM SCRIPTS (when we say "custom" we mean it! custom scripts that created for us only!!!) MODDED CARS AND WEAPONS MODDED BUILDINGS CAPTURABLE GANGS BOUNTY HUNTERS (Coming Soon) TaskForceRadio - for better sound and RP Car Tuning Modular Talent Tree (Perk System) WEBSITE
  4. 2 points
    Hey! My name is Nick and I want to introduce you to our Altis Life RP project named "ILLICIT". I'm here today to present you what I and my dev team have been working on for over two months now. As we all know, there is an incredible amount of Altis Life servers and competition is undeniably miles ahead with their development and player base but we are here to give it a shot regardless as we believe we have something to offer! _________________________________________________________________________________________________________ Let's start with a catchphrase as old as Altis Life itself. We have a custom map!.. well not really. It's a regular Altis map edited and customised to our needs with places such as police stations, NPAS HQ, SCO-19 HQ, two rebel bases and other things essential for Altis Life. I won't be posting screenshots of every single place on the map as we would love you to see it for yourself! _________________________________________________________________________________________________________ To achieve a different look we have all textures self-made, including police uniforms, civilian clothing, vehicles and others. Some of them are subject to change at the moment as improvements and small edits are scheduled prior to public release. There are some textures that will only be available to more advanced players owning certain licenses to ensure we do have some sort of end-game items and things that will allow experienced and dedicated players differentiate themselves and make them more recognisable, more on this later. _________________________________________________________________________________________________________ Another feature is a custom HUD designed by us and made solely for our server. We are currently working on improving GUI and other additions to our HUD. _________________________________________________________________________________________________________ That's all nice Nick, but come on, I want to know what I can actually do on the server! Here is a list of some features that you will be able to enjoy! Active Police, Admins and support Stable performance Custom Runs (Including radioactive zones) Great "Custom Map" Balanced money making and gear costs HM Treasury and bank robberies Vehicle Clamping Dynamic Threat level and events Red Zones Custom textures Maverick Scripts (Taxi, Navigator, Shipwrecks, Tuning, EXP System) New faction Coming Soon TM _________________________________________________________________________________________________________ So what are you waiting for? If you are looking for a new community to be a part of, become a cop, rebel, or just a regular Kavala hobo go and sign up on illicitgaming.co.uk or join our Teamspeak (ts3.illicitgaming.co.uk) LastNickLeft Server is now up and running!
  5. 2 points
    I firmly believe that placing billboard on top of buildings should be a criminal offence and act of public indecency. Besides of that I wish you good luck mate. ☺️
  6. 2 points
    MySQL Auto-Backup Summary: This tutorial will show you step by step how to setup automated backups of your MySQL DB every 6 hours on a Windows Server. I will assume your are using MySQL 5.7x64 and Workbench 6.3, but you can adapt this guide to MariaDB and Heidi with the same code. Tutorial: Login to your dedicated server. Download my SQL Backup Zip MySQLBackups.zip Extract the zip file to C:\ Open MySQL Workbench, and login as root. Click on users and privileges: Create a new user called backupadmin: Click on administrative roles, and give our newly created backupadmin user the BackupAdmin role: Now open the MySQLBackups folder you extracted to C:\ Edit mysqlbackup.bat in your preferred editing program. Line 43: Change the password to the password you gave backupadmin. Save and Close. Press windows key and R to bring up the run prompt and type Taskschd.msc. Click create task: End a title and for the task: Go to the trigger tab, and select new. Select a start time of your choosing,and set the repeat to 6 hours:. Go to the actions tab and brows to C:\MySQLBackups\mysqlbackup.bat: All Done! Now your DB will backup every 6 hours, and keep those backups for 7 days.
  7. 1 point
    Author: Me (Josh L) Difficulty: Easy Description: On - Saves the players gear then gives them the staff loadout. Off - Loads the players old gear then gives it back to them. Download the file attached to this thread. Drop it into the admin folder - "core\admin". Open fn_keyHandler.sqf - "core\functions". Add the code below to the bottom below the "//U Key" case. Save the fn_keyHandler.sqf. Open functions.hpp in the main directory. Add class adminOnOffDuty {}; to "class Admin". Save functions.hpp. Start the server, join the server and when you press Shift + 0 you will be set as On Duty. //Shift + 0 - On/Off Duty case 11: { if(_shift) then { [] spawn life_fnc_adminOnOffDuty; }; }; player setVariable["onDuty",0,true]; can be used for a player tag for when you are on duty. I will upload that tutorial soon but for now just leave them in there! fn_adminOnOffDuty.sqf
  8. 1 point
    Yup, like I said every class name (not the string that appears in the menu) is in alphabetical order in the menu config. That's why it's probably a bit confusing.
  9. 1 point
    Market Display This is a simple Dialog script for the Y-Menu which upon being opened, will pull a group of items from an array and displays a nice little description of the item along with the item's sell price (if any), buy price (if any) and weight. This was made specifically for virtual items and will not work with items such as weapons, clothing, or other items from Arma 3. Preview DISCLAIMER: These scripts were made on and tested on the most recent Altis Life Framework(v5.0.0) & 4.4r3. They may not work if you are attempting to use them on anything lower. The scripts also do not support Dynamic Markets of any kind. Tutorial 1. In your functions.hpp add the following to dialog\functions: class marketLBChange {}; class marketUpdate {}; class marketMenu {}; 2. Open dialog\functions and make a file called fn_marketLBChange: #include "..\..\script_macros.hpp" /* File: fn_marketLBChange.sqf Author: Bryan "Tonic" Boardwine Modified by Ilusionz */ private _itemControl = _this select 0; private _itemIndex = _this select 1; //Fetch some information. private _iName = _itemControl lbData _itemIndex; private _dName = M_CONFIG(getText,"VirtualItems",_iName,"displayName"); private _bPrice = M_CONFIG(getNumber,"VirtualItems",_iName,"buyPrice"); private _sPrice = M_CONFIG(getNumber,"VirtualItems",_iName,"sellPrice"); private _iWeight = M_CONFIG(getNumber,"VirtualItems",_iName,"weight"); private _iDescrip = M_CONFIG(getText,"VirtualItems",_iName,"description"); ctrlShow [60704,true]; ctrlShow [60705,true]; ctrlShow [60706,true]; ctrlShow [60707,true]; ctrlShow [60708,true]; ctrlShow [60709,true]; ctrlShow [60710,true]; ctrlShow [60711,true]; ctrlShow [60712,true]; ctrlSetText [60704, localize _dName]; ctrlSetText [60710,format ["%1",_iWeight]]; if (!(_bPrice isEqualTo -1)) then { ctrlSetText [60712,format ["$%1",[_bPrice] call life_fnc_numberText]]; } else { ctrlSetText [60712, "N/A"]; }; if (!(_sPrice isEqualTo -1)) then { ctrlSetText [60711,format ["$%1",[_sPrice] call life_fnc_numberText]]; } else { ctrlSetText [60711, "N/A"]; }; (CONTROL(60700,60709)) ctrlSetStructuredText parseText format["%1",_iDescrip]; 3. In dialog\functions make another file called fn_marketMenu.sqf: createDialog "marketdisplay"; [] call life_fnc_marketUpdate; 4. Again in dialog\functions create another file called fn_marketUpdate.sqf: #include "..\..\script_macros.hpp" /* File: fn_marketUpdate.sqf Author: Ilusionz Description: Update and fill the market menu. */ private ["_item_list","_shopItems","_name","_buyPrice","_sellPrice","_weight","_displayName"]; disableSerialization; //Setup control vars. _item_list = CONTROL(60700,67001); ctrlShow [60704,false]; ctrlShow [60705,false]; ctrlShow [60706,false]; ctrlShow [60707,false]; ctrlShow [60708,false]; ctrlShow [60709,false]; ctrlShow [60710,false]; ctrlShow [60711,false]; ctrlShow [60712,false]; //Purge list lbClear _item_list; if (!isClass(missionConfigFile >> "VirtualShops" >> "ymarket")) exitWith {closeDialog 0; hint localize "STR_NOTF_ConfigDoesNotExist";}; ctrlSetText[67003,localize (M_CONFIG(getText,"VirtualShops","ymarket","name"))]; _shopItems = M_CONFIG(getArray,"VirtualShops","ymarket","items"); { _displayName = M_CONFIG(getText,"VirtualItems",_x,"displayName"); _buyPrice = M_CONFIG(getNumber,"VirtualItems",_x,"buyPrice"); _sellPrice = M_CONFIG(getNumber,"VirtualItems",_x,"sellPrice"); _weight = M_CONFIG(getNumber,"VirtualItems",_x,"weight"); _item_list lbAdd format ["%1",(localize _displayName)]; _item_list lbSetData [(lbSize _item_list)-1,_x]; _icon = M_CONFIG(getText,"VirtualItems",_x,"icon"); if (!(_icon isEqualTo "")) then { _item_list lbSetPicture [(lbSize _item_list)-1,_icon]; }; } forEach _shopItems; 5. Open your dialog folder and create market_menu.hpp: class marketDisplay { idd = 60700; name= "marketDisplay"; movingEnable = 0; enableSimulation = 1; class controlsBackground { class Life_RscTitleBackground: Life_RscText { idc = -1; text = "Altis Item Database"; //--- ToDo: Localize; x = 0.298906 * safezoneW + safezoneX; y = 0.27516 * safezoneH + safezoneY; w = 0.170156 * safezoneW; h = 0.022 * safezoneH; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])","(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; }; class MainBackground: Life_RscText { idc = -1; x = 0.298906 * safezoneW + safezoneX; y = 0.2976 * safezoneH + safezoneY; w = 0.402187 * safezoneW; h = 0.407 * safezoneH; colorBackground[] = {0,0,0,0.7}; }; class mText: Life_RscText { idc = -1; text = "Market Database"; //--- ToDo: Localize; x = 0.300969 * safezoneW + safezoneX; y = 0.302 * safezoneH + safezoneY; w = 0.195937 * safezoneW; h = 0.022 * safezoneH; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",0.5}; }; class mText2: Life_RscText { idc = -1; text = "Item Information"; //--- ToDo: Localize; x = 0.502062 * safezoneW + safezoneX; y = 0.302 * safezoneH + safezoneY; w = 0.195937 * safezoneW; h = 0.022 * safezoneH; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])",0.5}; }; }; class controls { class itemList: Life_RscListBox { idc = 67001; onLBSelChanged = "_this call life_fnc_marketLBChange"; x = 0.304062 * safezoneW + safezoneX; y = 0.3328 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.363 * safezoneH; }; class Title: Life_RscTitle { idc = 67003; text = "Altis Item Database"; //--- ToDo: Localize; x = 0.298906 * safezoneW + safezoneX; y = 0.2756 * safezoneH + safezoneY; w = 0.170156 * safezoneW; h = 0.022 * safezoneH; colorText[] = {0.95,0.95,0.95,1}; sizeEx = (((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1) * GUI_GRID_H; }; class ButtonClose: Life_RscButtonMenu { onButtonClick = "closeDialog 0;"; idc = 60702; text = "Close"; //--- ToDo: Localize; x = 0.636641 * safezoneW + safezoneX; y = 0.7046 * safezoneH + safezoneY; w = 0.0644531 * safezoneW; h = 0.022 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0,0,0,0.8}; }; class ItemName: Life_RscText { idc = 60704; text = ""; x = 0.497937 * safezoneW + safezoneX; y = 0.335 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; sizeEx = 2.7 * 0.02; }; class BuyPrice: Life_RscText { idc = 60705; text = "Buy Price:"; //--- ToDo: Localize; x = 0.498969 * safezoneW + safezoneX; y = 0.5308 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; sizeEx = 2.7 * 0.02; }; class SellPrice: Life_RscText { idc = 60706; text = "Sell Price:"; //--- ToDo: Localize; x = 0.498969 * safezoneW + safezoneX; y = 0.5726 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; sizeEx = 2.7 * 0.02; }; class Weight: Life_RscText { idc = 60707; text = "Weight:"; //--- ToDo: Localize; x = 0.498969 * safezoneW + safezoneX; y = 0.6166 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; sizeEx = 2.7 * 0.02; }; class Description: Life_RscStructuredText { idc = 60708; text = "Description:"; //--- ToDo: Localize; x = 0.497937 * safezoneW + safezoneX; y = 0.379 * safezoneH + safezoneY; w = 0.06159 * safezoneW; h = 0.044 * safezoneH; }; class DescriptionText: Life_RscStructuredText { idc = 60709; text = ""; x = 0.497937 * safezoneW + safezoneX; y = 0.4164 * safezoneH + safezoneY; w = 0.195937 * safezoneW; h = 0.11 * safezoneH; }; class WeightNum: Life_RscText { idc = 60710; text = ""; x = 0.587635 * safezoneW + safezoneX; y = 0.6166 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; colorText[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])","(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; sizeEx = 2.7 * 0.02; }; class SellNum: Life_RscText { idc = 60711; text = ""; x = 0.587657 * safezoneW + safezoneX; y = 0.5726 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; colorText[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])","(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; sizeEx = 2.7 * 0.02; }; class BuyNum: Life_RscText { idc = 60712; text = ""; x = 0.587654 * safezoneW + safezoneX; y = 0.5308 * safezoneH + safezoneY; w = 0.190781 * safezoneW; h = 0.055 * safezoneH; colorText[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])","(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])","(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])","(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; sizeEx = 2.7 * 0.02; }; }; }; 6. In your dialog folder, open player_inv.hpp and add the following below ButtonSyncData: class marketButton: Life_RscButtonMenu { idc = 60714; onButtonClick = "[] call life_fnc_marketMenu"; text = "$STR_PM_yMarket"; //--- ToDo: Localize; x = 0.598484 * safezoneW + safezoneX; y = 0.66808 * safezoneH + safezoneY; w = 0.0644531 * safezoneW; h = 0.022 * safezoneH; colorText[] = {1,1,1,1}; colorBackground[] = {0,0,0,0.8}; }; 7. Open dialog\MasterHandler.hpp and add the following: #include "market_menu.hpp" 8. Open config_vItems.hpp and add the following class below class cop: If you are using Altis Life 5.0.0: //THIS IS NOT A SHOP, IT IS JUST THE LIST OF ITEMS THE MARKET PULLS - IT IS IN ALPHABETICAL ORDER class ymarket { name = "STR_Shops_yMarket"; conditions = ""; items[] = {"apple", "blastingcharge", "boltcutter", "cannabis", "catshark", "catshark_raw", "cement", "cocaine_processed", "cocaine_unprocessed", "coffee", "copper_refined", "copper_unrefined", "defibrillator", "defusekit", "diamond_cut", "diamond_uncut", "donuts", "fuelEmpty", "fuelFull", "glass", "goat", "goat_raw", "goldbar", "hen", "hen_raw", "heroin_processed", "heroin_unprocessed", "iron_refined", "iron_unrefined", "lockpick", "mackerel", "mackerel_raw", "marijuana", "mullet", "mullet_raw", "mushrooms", "oil_processed", "oil_unprocessed", "ornate", "ornate_raw", "peach", "pickaxe", "rabbit", "rabbit_raw", "redgull", "rock", "rooster", "rooster_raw", "salema", "salema_raw", "sand", "salt_refined", "salt_unrefined", "sheep", "sheep_raw", "spikeStrip", "storagebig", "storagesmall", "toolkit", "tbacon", "tuna", "tuna_raw", "turtle_soup", "turtle_raw", "waterBottle"}; }; If you are using Altis Life 4.x: class ymarket { name = "STR_Shops_yMarket"; side = ""; icense = ""; level[] = { "", "", -1, "" }; items[] = {"apple", "blastingcharge", "boltcutter", "cannabis", "catshark", "catshark_raw", "cement", "cocaine_processed", "cocaine_unprocessed", "coffee", "copper_refined", "copper_unrefined", "defibrillator", "defusekit", "diamond_cut", "diamond_uncut", "donuts", "fuelEmpty", "fuelFull", "glass", "goat", "goat_raw", "goldbar", "hen", "hen_raw", "heroin_processed", "heroin_unprocessed", "iron_refined", "iron_unrefined", "lockpick", "mackerel", "mackerel_raw", "marijuana", "mullet", "mullet_raw", "mushrooms", "oil_processed", "oil_unprocessed", "ornate", "ornate_raw", "peach", "pickaxe", "rabbit", "rabbit_raw", "redgull", "rock", "rooster", "rooster_raw", "salema", "salema_raw", "sand", "salt_refined", "salt_unrefined", "sheep", "sheep_raw", "spikeStrip", "storagebig", "storagesmall", "toolkit", "tbacon", "tuna", "tuna_raw", "turtle_soup", "turtle_raw", "waterBottle"}; }; 9. These scripts introduce a new setting needed on every virtual item you would like on your market display. Which is a small description of the item. If you want to, you can remove it in fn_marketLBChange - but I highly recommend keeping it as filler for the menu (plus a little bonus). Here are a few examples of a few I've used this (don't use these as their weights and prices may be different to yours): class marijuana { variable = "marijuana"; displayName = "STR_Item_Marijuana"; weight = 4; buyPrice = 7000; sellPrice = 5500; illegal = true; edible = -1; icon = "icons\ico_marijuana.paa"; description = "Classic OG kush. Snoop would be proud. Sold at any drug dealer."; }; class redgull { variable = "redgull"; displayName = "STR_Item_RedGull"; weight = 1; buyPrice = 1500; sellPrice = 200; illegal = false; edible = 100; icon = "icons\ico_redgull.paa"; description = "Enery drink that certainly doesn't give you wings. Very high in sugar."; }; class salt_unrefined { variable = "saltUnrefined"; displayName = "STR_Item_Salt"; weight = 5; buyPrice = -1; sellPrice = -1; illegal = false; edible = -1; icon = "icons\ico_saltUnprocessed.paa"; description = "Un-refined Salt. Processed at the Salt Processor. Also gathered from the Tears of the Arma Community."; }; 10. Finally, open your Stringtable.xml and add the following: <Key ID="STR_PM_yMarket"> <Original>Market</Original> </Key> <Key ID="STR_Shops_yMarket"> <Original>Altis Market</Original> </Key> And that's it! All done. SIDE NOTE: Make sure any new items you add to the virtual item config are also added to the market array, otherwise they won't show up!
  10. 1 point
    case "IDITEM": {hint "gg"; ["IDITEM", -1] spawn life_thirst = 100;}; /ACTION\
  11. 1 point
    What I am asking my friend is explain what this does: case "wather": {hint "gg"; ["wather", -1] spawn life_thirst = 100;;}; }; You didn't provide a tutorial with it does ["wather", -1] remove one water?
  12. 1 point
  13. 1 point
  14. 1 point
  15. 1 point
    Oh thank you, I didn't even know this page existed I'll have a fiddle around.
  16. 1 point
  17. 1 point
    Learn bulldozer and terrain builder and do it yourself, everybody just takes lakeside and Kelly's and edits it
  18. 1 point
    Probably done something to your keyhandler or escinterupt as this is not a framework issue. Not really sure how you expect us to help seeing as you've provided nothing more than a description of your problem.
  19. 1 point
    Difficulty: Easy Adds Ranks above your head _______________________________________________ Replace your fn_playerTags with this: and then go to initMedic.sqf and add: player setVariable ["medrank",(FETCH_CONST(life_medicLevel)),true]; above [] call life_fnc_spawnMenu;
  20. 1 point
    @SuperDudeplayer You mean this?
  21. 1 point
  22. 1 point
  23. 1 point
    You were banned for a good reason. Get over it. Anyways, wouldn't recommend this person for any work.
  24. 1 point
    If you want me to come round your house to press ctrl c ctrl v then we can arrange a date.
  25. 1 point
    @Deadlesszombie if I create a NPC with init: this addAction ["Revive Him", {[] spawn life_fnc_npcReviver;},"""",0,false,false,"""",' vehicle player == player && player distance _target < 10 && playerSide == civilian && independent countSide playableUnits != 0 ']; Can it work without using init.sqf ?
  26. 1 point
    https://community.bistudio.com/wiki/cutRsc https://community.bistudio.com/wiki/Post_process_effects#DynamicBlur
  27. 1 point
    no init sqf: []spawn { while{true} do { if (independent countSide playableUnits != 0) then { [] call life_fnc_npcReviver; //correct }; Sleep 300; }; }; then core/functions/fn_npcReviver: code to revive here then add to functions.hpp basically: in init sqf we add the spawn and while true do function, this will check and then [] call life_fnc_npcReviver; now we will install your script in core/functions/fn_npcReviver.sqf then we add the class npcReviver{}; to functions.hpp
  28. 1 point
    Author: Neil Smith (with a slight bit of help and cleanup from hamz) 1. Create the file fn_ToggleHouseLock.sqf in core/housing /* File: fn_ToggleHouseLock.sqf Author: Deadlessszombie (Neil Smith) for www.altisliferpg.com though all of this is from: Bryan "Tonic" Boardwine Description: Toggles the Locked State of Houses (opens their doors) */ _veh = cursorObject; _door = [_veh] call life_fnc_nearestDoor; _houseState = _veh getVariable [format["bis_disabled_Door_%1",_door],0]; if (_houseState isEqualTo 0) then { _veh setVariable [format["bis_disabled_Door_%1",_door],1,true]; _veh animate [format["door_%1_rot",_door],0]; systemChat localize "STR_House_Door_Lock"; } else { _veh setVariable [format["bis_disabled_Door_%1",_door],0,true]; _veh animate [format["door_%1_rot",_door],1]; systemChat localize "STR_House_Door_Unlock"; }; 2. Add class ToggleHouseLock{}; to functions.hpp under core/housing like so: 3. Either replace or add the button: Replace: Add button yourself: 4. Add to Stringtable: <Key ID="STR_pInAct_ToggleHouseLock"> <Original>Toggle House Lock</Original> </Key>
  29. 1 point
    Try to remove this from \core\fn_initCiv.sqf civ_spawn_1 = nearestObjects[getMarkerPos "civ_spawn_1", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250]; civ_spawn_2 = nearestObjects[getMarkerPos "civ_spawn_2", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250]; civ_spawn_3 = nearestObjects[getMarkerPos "civ_spawn_3", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250]; civ_spawn_4 = nearestObjects[getMarkerPos "civ_spawn_4", ["Land_i_Shop_01_V1_F","Land_i_Shop_01_V2_F","Land_i_Shop_01_V3_F","Land_i_Shop_02_V1_F","Land_i_Shop_02_V2_F","Land_i_Shop_02_V3_F"],250];
  30. 1 point
  31. 1 point
    It's a new server. I don't see any reason for any other website. If it does the job, it's good enough.
  32. 1 point
    As wackbatt said, this isn't the place to be looking for developers You will get screwed over Literally take the time for all of you to learn and do it yourselves
  33. 1 point
  34. 1 point
    @Elkoy I got a feeling that you just came to the server, to F*ck things up. Anyway, i also know another server that needs some players.... Its called renegade gaming and its a very good server
  35. 1 point
    I feel this is a lie just to make people join your server
  36. 1 point
    Authors: Tonic (Didn't change enough within the files to put mine or anyone else's name as an author) Difficulty: Easy Version: Tested on 5.0 (Could work on 4.4) (Thank you @TaskForceTactical for the idea of this script) Description: Similar to the fed but instead of spawning gold bars when successful this will spawn randomized weapons and gear in a crate. NOTE: To the ungrateful copy paste kids who thinks it's cool to steal credit or try to sell the scripts me or any of my friends created for you guys, if it continues I will no longer help anyone or post scripts to for the community, the only reason why this was released was because it's a small rewrite of Tonic's files. MISSION EDITS: STEP 1: Find a place for your armory on the map and place a marker and name set federal_armory as the variable name. Now you will need to place a vault, a"CargoNet_01_box_F" works perfectly set the variable name to fed_armory and don't forget to set allowDamage to false, a vaulthouse, I use "Land_Research_house_V1_F" for example, and a dome big or small depends on how you want it. To make it easier I've used this compound within the top right area that's apart of the map all I did was place a vault: Step 2: There was a simpler way to do this but I didn't realize until after I made this both ways work the same so go into your fn_useItem.sqf replace "case (_item isEqualTo "blastingcharge"):" with: Step 3: Go into your fn_useItem.sqf replace "case (_item isEqualTo "boltcytter"):" with: Step 4: You will need to configure this so it's the correct coords to the vault & vaulthouse. Go into core >> items and create the file fn_blastingChargeArmory.sqf and paste this in: Step 5: You will need to configure this also with the same coords as you did in fn_blastingChargeArmory.sqf, create a new file in core >> items called fn_boltcutterarmory.sqf and paste this: Step 6: go into core >> civilian and create a file called fn_demoChargeTimerArmory.sqf and paste this: Step 7: Open you Functions.hpp and under "class Items {" add Under "class Civilian {" add Step 7.5: heres what mine looks like: Step 8: Open your CfgRemoteExec.hpp and add LIFE_SERVER EDITS: Step 1: This step locks your doors and prevents exploiting it will need configuring with the same coordinates as Step 5 and Step 4 of the mission edits. Open your init.sqf and add this above "/* Setup the federal reserve building(s) */": Step 2: Go into Functions >> Sytems and create a new file called "fn_handleBlastingChargeArmory.sqf" this is where all the magic happens you're free to edit whatever you paste this: Step 3: Last but not last open your config.cpp and add this under "class Systems {" under "class TON_System {" Step 3.5: here is what yours should look like
  37. 1 point
    Hello, So I come from the Exile Mod Community and I run a community called EXP. I dont play Altis Life and I dont run any Altis Life servers. But I wanted to start sharing content here as much as I do in Exile Mod. So ill be releasing more content here as I go along. Ill be including stuff like Auto Messages, Intro Credits, Restart Warning, and more. All scripts will be built with performance in mind. So if you have any questions or ideas PLEASE let me know! I dont read through these forums a whole lot so I may release something thats already been made, if so please let me know and if its a issue ill remove it! __________________ Content __________________ [EXP] Auto Messages - PM FOR INFO [EXP] Logo - PM FOR INFO [EXP] Restart Warnings - PM FOR INFO [EXP] Intro Credits - PM FOR INFO [EXP] Map Type Out - PM FOR INFO [EXP] Night Fog - PM FOR INFO [EXP] Salvage Vehicle - PM FOR INFO [EXP] Custom UI - PM FOR INFO For Info On How To Get Access To My Files PLEASE PM Me Do Not Ask In The Chat !
  38. 1 point
    Did you even try to search for this ?
  39. 1 point
    I'm not about ruining people's life, but I do support making someone learn that they can not go around online with no regard to copyright! At this point the arma community is full of stealing and I think it's time to make an example of someone!
  40. 1 point
    This a older script from the old Altis Life Site. Author: RYN_Ryan Updated By: AlaskaVet All Edits are done in your life_server 1. inside life_server\init.sqf Add: [] execVM "\life_server\Functions\Airdrop\config.sqf"; [] execVM "\life_server\Functions\Airdrop\fn_generateAirdropAuto.sqf"; 2. Open life_server\config.cpp under class TON_System Add: class Airdrop { file = "\life_server\Functions\Airdrop"; class generateAirdrop {}; }; 3. Put the Airdrop folder in life_server\Functions And your All done. To edit were the airdrops drop, Open life_server\Functions\Airdrop\config.sqf Add the cords that you want in this line. All these are near Kavala. airdrop_positions = [[5228.49,12576.7,0],[5560.94,14875.2,0],[7138.13,13083,0],[5863.29,10692.5,0]]; To change the time of how often the drops happen, Open life_server\Functions\Airdrop\config.sqf This is set for 1 every 2 hours _airdrop_time_interval = [1,2]; Enjoy AlaskaVet Airdrop.rar
  41. 1 point
    That motha f***** Please excuse my language , Me and John know this guy (Madness) From my first encounters with him i know he steals work (Stole all my S5xD work) And is a complete spoon when it comes to development. I don't understand why people even speak to him never mind trust him. Hes banned from here and will always be banned as-long as me and John are on here anyways. And i believe he can't use your infistar unless you whitelist his server ip? Could be wrong but the best thing for you to do is contact infistar and report his website and expose him on youtube , I did and he got so much shit from people he had to change name 3 times and run back to his hole. We have his website name etc so if anyone advertises it then it will be dealt with don't worry dude , In the end hes a loser but i know how it feels for some cunt to come and steal all your hard work. @John Meiers Hes back lmao @ApexNetwork Thanks for telling us btw your post will help people stay away from him. Have any information like his new name etc please contact me.
  42. 1 point
    I do not have this issue. What did you change in my script?
  43. 1 point
    Hi Neon, You got a lot of errors there and I think I see some mods, but I am not sure. I recommend rolling back your server to a point before it started crashing. Undo what you did before this issue started.
  44. 1 point
    I'm sorry. I can help you debug code, but I will not write the code for you.
  45. 1 point
  46. 1 point
    Jason, the script is using mysqldump.
  47. 1 point
    can you repost your script? Dont forget its on a timer....so you may need to be a little patient Mine takes around 10min Mine is as follows @life_server\addons\life_server\Functions\Airdrop\config.sqf /* @file Version: 1.0.0.0 @file Author: RYN_Ryan @file edit: 20.01.2015 Copyright © 2015 Ryan Torzynski, All rights reserved All servers are allowed to use this code, modify and publish it. Every modified release of this script must contain "Original by RTT" */ airdrop_helicopter_main = "B_Heli_Transport_03_unarmed_F"; airdrop_helicopter_scnd = "B_Heli_Attack_01_F"; airdrop_chance = 100; //Cords Of Were To Do The Drops airdrop_positions = [[5228.49,12576.7,0],[5560.94,14875.2,0],[7138.13,13083,0],[5863.29,10692.5,0]]; _airdrop_time_interval = [1,1]; //Time given in hours, this is the interval in which the airdrop should take place // Do not modify the following code airdrop_time_min = _airdrop_time_interval select 0; airdrop_time_max = _airdrop_time_interval select 1; airdrop_time_min = airdrop_time_min*360; airdrop_time_max = airdrop_time_max*720; if (airdrop_time_min>=airdrop_time_max) exitWith {airdrop_enable=false;}; airdrop_enable=true; airdrop_goingon=false; @life_server\addons\life_server\Functions\Airdrop\fn_generateAirdrop.sqf /* @file Version: 1.0.0.0 @file Author: RYN_Ryan @file edit: 20.01.2015 Copyright � 2015 Ryan Torzynski, All rights reserved All servers are allowed to use this code, modify and publish it. Every modified release of this script must contain "Original by RTT"! */ _posPlayer = [_this,0,[],[[]]] call BIS_fnc_param; if (!airdrop_enable) exitWith {}; if (airdrop_goingon) exitWith {}; if({side _x == civilian} count playableUnits < 2) exitWith {}; airdrop_goingon = true; _dest = _posPlayer; sleep 1; // AIRDROP STARTEN [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>A shipment is arriving at Pablo's residence in 15 minutes! The drop-location will be transmitted soon!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 300; _marker = createMarker ["Airdropmarker", _dest]; "Airdropmarker" setMarkerColor "ColorRed"; "Airdropmarker" setMarkerType "Empty"; "Airdropmarker" setMarkerShape "ELLIPSE"; "Airdropmarker" setMarkerSize [500,500]; _markerText = createMarker ["Airdropmarkertext", _dest]; "Airdropmarkertext" setMarkerColor "ColorBlack"; "Airdropmarkertext" setMarkerText "Airdrop-Mission"; "Airdropmarkertext" setMarkerType "mil_warning"; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>10 minutes until the helicopter will drop the supplies! Check your map for the drop-location!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 300; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>5 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>4 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>3 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>2 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>1 minute until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; heli1 = CreateVehicle [airdrop_helicopter_main, [7950, 9667, 0], [], 0, "FLY"]; heli2 = CreateVehicle [airdrop_helicopter_scnd, [7950, 9700, 0], [], 0, "FLY"]; heli3 = CreateVehicle [airdrop_helicopter_scnd, [7950, 9630, 0], [], 0, "FLY"]; heli1 allowDamage false; heli2 allowDamage false; heli3 allowDamage false; _mygroup1 = [[7950, 9667, 0], CIVILIAN, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _mygroup2 = [[7950, 9667, 0], CIVILIAN, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _mygroup3 = [[7950, 9667, 0], CIVILIAN, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; {_x moveInDriver heli1} forEach units _mygroup1; {_x moveInDriver heli2} forEach units _mygroup2; {_x moveInDriver heli3} forEach units _mygroup3; _mygroup1 addWaypoint [_dest, 0]; _mygroup1 addWaypoint [[2380.47,22267.8,0], 0]; _mygroup2 addWaypoint [_dest, 0]; _mygroup2 addWaypoint [[2380.47,22267.8,0], 0]; _mygroup3 addWaypoint [_dest, 0]; _mygroup3 addWaypoint [[2380.47,22267.8,0], 0]; //_markerText = createMarker ["airbox_marker", [14028.5,18719.7,0.0014267]]; //"airbox_marker" setMarkerColor "ColorBlue"; //"airbox_marker" setMarkerText " Airdrop-Box"; //"airbox_marker" setMarkerType "mil_destroy"; _containerdummy = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _containerdummy attachTo [heli1,[0,0,-3.5]]; _containerdummy setDir 90; while { _dest distance heli1 > 250 } do { "airbox_marker" setMarkerPos getPos heli1; sleep 1; }; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>The supplies have been dropped! 20 minutes until self destruction!</t>"] remoteExec ["life_fnc_broadcast",0]; // Drop the container deleteVehicle _containerdummy; sleep 0.1; _container = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _para = createVehicle ["O_Parachute_02_F", [getPos heli1 select 0, getPos heli1 select 1, getPos heli1 select 2], [], 0, ""]; _para setPosATL (heli1 modelToWorld[0,0,100]); _para attachTo [heli1,[0,0,-10]]; detach _para; _container attachTo [_para,[0,0,-2]]; _container setDir 90; playSound3D ["a3\sounds_f\weapons\Flare_Gun\flaregun_1_shoot.wss", _container]; _smoke="SmokeShellGreen" createVehicle [getpos _container select 0, getpos _container select 1,0]; _smoke attachTo [_container,[0,0,0]]; _light = "Chemlight_green" createVehicle getPos _container; _light attachTo [_container,[0,0,0]]; _flare = "F_40mm_Green" createVehicle getPos _container; _flare attachTo [_container,[0,0,0]]; sleep 0.1; while { (getPos _container select 2) > 2 } do { "airbox_marker" setMarkerPos getPos _container;sleep 1; }; detach _container; _container setPos [getPos _container select 0, getPos _container select 1, (getPos _container select 2)+0.5]; playSound3D ["A3\Sounds_F\sfx\alarm_independent.wss", _container]; sleep 6; "M_NLAW_AT_F" createVehicle [getPos _container select 0, getPos _container select 1, 0]; _pos_container = getPos _container; deleteVehicle _container; sleep 0.5; _box = createVehicle ["CargoNet_01_box_F", _pos_container, [], 0, "CAN_COLLIDE"]; _box allowDamage false; _smoke="SmokeShellGreen" createVehicle [getpos _box select 0,getpos _box select 1,0]; _flare = "F_40mm_Green" createVehicle getPos _container; _light attachTo [_box,[0,0,0]]; _flare attachTo [_box,[0,0,0]]; // Fill box clearWeaponCargoGlobal _box; clearMagazineCargoGlobal _box; clearItemCargoGlobal _box; sleep 0.1; _var=floor(random 6); if (_var==0) then {_box addWeaponCargoGlobal ["LMG_Zafir_F", 5]; _box addWeaponCargoGlobal ["150Rnd_762x51_Box_Tracer", 15]; _box addItemCargoGlobal ["muzzle_snds_H", 1]; _box addItemCargoGlobal ["muzzle_snds_acp", 1];}; if (_var==1) then {_box addWeaponCargoGlobal ["launch_Titan_F", 5]; _box addWeaponCargoGlobal ["Titan_AA", 15]; _box addItemCargoGlobal ["muzzle_snds_H", 1]; _box addItemCargoGlobal ["muzzle_snds_acp", 1];}; if (_var==2) then {_box addWeaponCargoGlobal ["launch_RPG32_F", 5]; _box addMagazineCargoGlobal ["RPG32_F", 15]; _box addItemCargoGlobal ["muzzle_snds_H", 1]; _box addItemCargoGlobal ["muzzle_snds_acp", 1];}; if (_var==3) then {_box addWeaponCargoGlobal ["arifle_Katiba_GL_F", 5]; _box addMagazineCargoGlobal ["1Rnd_HE_Grenade_shell", 5]; _box addWeaponCargoGlobal ["UGL_FlareWhite_F", 15]; _box addItemCargoGlobal ["muzzle_snds_H", 1]; _box addItemCargoGlobal ["muzzle_snds_acp", 1];}; if (_var==4) then {_box addWeaponCargoGlobal ["srifle_GM6_F", 5]; _box addWeaponCargoGlobal ["optic_SOS", 5]; _box addMagazineCargoGlobal ["5Rnd_127x108_APDS_Mag", 20]; _box addItemCargoGlobal ["muzzle_snds_H", 1]; _box addItemCargoGlobal ["muzzle_snds_acp", 1];}; if (_var==5) then {_box addWeaponCargoGlobal ["SatchelCharge_Remote_Mag", 10]; _box addWeaponCargoGlobal ["ClaymoreDirectionalMine_Remote_Mag", 20]; _box addItemCargoGlobal ["muzzle_snds_H", 1]; _box addItemCargoGlobal ["muzzle_snds_acp", 1];}; sleep 0.1; // Fill box end sleep 300; deleteVehicle heli1; deleteVehicle heli2; deleteVehicle heli3; sleep 600; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>5 minutes until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 240; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>1 minute until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 50; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>10 seconds until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 10; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission beendet!</t></t><br/><br/><t size='1'>The AirDrop-Mission has ended!</t>"] remoteExec ["life_fnc_broadcast",0]; deleteVehicle _box; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-21,(getPos _box select 1)+21,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-1,(getPos _box select 1)+56,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+23,(getPos _box select 1)-75,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-50,(getPos _box select 1)+1,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+87,(getPos _box select 1)-22,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+0,(getPos _box select 1)-0,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+20,(getPos _box select 1)-20,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-100,(getPos _box select 1)+56,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+100,(getPos _box select 1)-100,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-55,(getPos _box select 1)+123,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+577,(getPos _box select 1)-83,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+35,(getPos _box select 1)-99,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+100,(getPos _box select 1)-100,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-431,(getPos _box select 1)-431,0]; "Airdropmarker" setMarkerAlpha 0; "Airdropmarkertext" setMarkerAlpha 0; deleteMarker "airbox_marker"; deleteMarker "Airdropmarker"; deleteMarker "Airdropmarkertext"; airdrop_goingon = false; @life_server\addons\life_server\Functions\Airdrop\fn_generateAirdropAuto.sqf /* @file Version: 1.0.0.0 @file Author: RYN_Ryan @file edit: 20.01.2015 Copyright � 2015 Ryan Torzynski, All rights reserved All servers are allowed to use this code, modify and publish it. Every modified release of this script must contain "Original by RTT"! */ sleep 1; if (!airdrop_enable) exitWith {}; if (airdrop_goingon) exitWith {}; if({side _x == civilian} count playableUnits < 2) exitWith {}; _chance = floor(random 100); if (_chance>airdrop_chance) exitWith {}; _toWait = (random (airdrop_time_max - airdrop_time_min)) + airdrop_time_min; sleep _toWait; // Wait abit for the airdrop if (!airdrop_enable) exitWith {}; if (airdrop_goingon) exitWith {}; airdrop_goingon=true; // AIRDROP STARTEN [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>A helicopter is going to drop a Supplycrate in 15 minutes! The drop-location will be transmitted soon!</t>"] remoteExec ["life_fnc_broadcast",0]; _poses = count airdrop_positions; _inArr = floor(random _poses); _dest = airdrop_positions select _inArr; sleep 300; _marker = createMarker ["Airdropmarker", _dest]; "Airdropmarker" setMarkerColor "ColorRed"; "Airdropmarker" setMarkerType "Empty"; "Airdropmarker" setMarkerShape "ELLIPSE"; "Airdropmarker" setMarkerSize [500,500]; _markerText = createMarker ["Airdropmarkertext", _dest]; "Airdropmarkertext" setMarkerColor "ColorBlack"; "Airdropmarkertext" setMarkerText "Airdrop-Mission"; "Airdropmarkertext" setMarkerType "mil_warning"; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>10 minutes until the helicopter will drop the supplies! Check your map for the drop-location!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 300; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>5 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>4 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>3 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>2 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>1 minute until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; heli1 = CreateVehicle [airdrop_helicopter_main, [7950, 9667, 0], [], 0, "FLY"]; heli2 = CreateVehicle [airdrop_helicopter_scnd, [7950, 9700, 0], [], 0, "FLY"]; heli3 = CreateVehicle [airdrop_helicopter_scnd, [7950, 9630, 0], [], 0, "FLY"]; heli1 allowDamage false; heli2 allowDamage false; heli3 allowDamage false; _mygroup1 = [[7950, 9667, 0], CIVILIAN, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _mygroup2 = [[7950, 9667, 0], CIVILIAN, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _mygroup3 = [[7950, 9667, 0], CIVILIAN, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; {_x moveInDriver heli1} forEach units _mygroup1; {_x moveInDriver heli2} forEach units _mygroup2; {_x moveInDriver heli3} forEach units _mygroup3; _mygroup1 addWaypoint [_dest, 0]; _mygroup1 addWaypoint [[2380.47,22267.8,0], 0]; _mygroup2 addWaypoint [_dest, 0]; _mygroup2 addWaypoint [[2380.47,22267.8,0], 0]; _mygroup3 addWaypoint [_dest, 0]; _mygroup3 addWaypoint [[2380.47,22267.8,0], 0]; //_markerText = createMarker ["airbox_marker", [14028.5,18719.7,0.0014267]]; //"airbox_marker" setMarkerColor "ColorBlue"; //"airbox_marker" setMarkerText " "; //Airdrop-Box //"airbox_marker" setMarkerType "mil_destroy"; _containerdummy = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _containerdummy attachTo [heli1,[0,0,-3.5]]; _containerdummy setDir 90; while { _dest distance heli1 > 250 } do { "airbox_marker" setMarkerPos getPos heli1; sleep 1; }; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>The supplies have been dropped! 20 minutes until self destruction!</t>"] remoteExec ["life_fnc_broadcast",0]; // Drop the container deleteVehicle _containerdummy; sleep 0.1; _container = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _para = createVehicle ["O_Parachute_02_F", [getPos heli1 select 0, getPos heli1 select 1, getPos heli1 select 2], [], 0, ""]; _para setPosATL (heli1 modelToWorld[0,0,100]); _para attachTo [heli1,[0,0,-10]]; detach _para; _container attachTo [_para,[0,0,-2]]; _container setDir 90; playSound3D ["a3\sounds_f\weapons\Flare_Gun\flaregun_1_shoot.wss", _container]; _smoke="SmokeShellGreen" createVehicle [getpos _container select 0, getpos _container select 1,0]; _smoke attachTo [_container,[0,0,0]]; _light = "Chemlight_green" createVehicle getPos _container; _light attachTo [_container,[0,0,0]]; _flare = "F_40mm_Green" createVehicle getPos _container; _flare attachTo [_container,[0,0,0]]; sleep 0.1; while { (getPos _container select 2) > 2 } do { "airbox_marker" setMarkerPos getPos _container;sleep 1; }; detach _container; _container setPos [getPos _container select 0, getPos _container select 1, (getPos _container select 2)+0.5]; playSound3D ["A3\Sounds_F\sfx\alarm_independent.wss", _container]; sleep 6; "M_NLAW_AT_F" createVehicle [getPos _container select 0, getPos _container select 1, 0]; _pos_container = getPos _container; deleteVehicle _container; sleep 0.5; _box = createVehicle ["CargoNet_01_box_F", _pos_container, [], 0, "CAN_COLLIDE"]; _box allowDamage false; _smoke="SmokeShellGreen" createVehicle [getpos _box select 0,getpos _box select 1,0]; _flare = "F_40mm_Green" createVehicle getPos _container; _light attachTo [_box,[0,0,0]]; _flare attachTo [_box,[0,0,0]]; // Fill box clearWeaponCargoGlobal _box; clearMagazineCargoGlobal _box; clearItemCargoGlobal _box; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["FirstAidKit", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["ToolKit", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["Binocular", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["NVGoggles", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["hgun_Rook40_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["30Rnd_9x21_Mag", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["arifle_sdar_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["20Rnd_556x45_UW_mag", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["hgun_Pistol_heavy_02_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["6Rnd_45ACP_Cylinder", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["arifle_Mk20C_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["30Rnd_556x45_Stanag", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["arifle_Katiba_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["30Rnd_65x39_caseless_green", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["SMG_01_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["30Rnd_45ACP_Mag_SMG_01", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["srifle_EBR_F", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["20Rnd_762x51_Mag", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["optic_Arco", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["optic_Aco", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["optic_MRCO", 2];}; sleep 0.1; _var=floor(random 2); if (_var==1) then {_box addWeaponCargoGlobal ["optic_Arco", 2];}; sleep 0.1; // Fill box end sleep 300; deleteVehicle heli1; deleteVehicle heli2; deleteVehicle heli3; sleep 600; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>5 minutes until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 240; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>1 minute until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 50; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>10 seconds until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 10; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission beendet!</t></t><br/><br/><t size='1'>The AirDrop-Mission has ended!</t>"] remoteExec ["life_fnc_broadcast",0]; deleteVehicle _box; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-21,(getPos _box select 1)+21,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-1,(getPos _box select 1)+56,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+23,(getPos _box select 1)-75,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-50,(getPos _box select 1)+1,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+87,(getPos _box select 1)-22,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+0,(getPos _box select 1)-0,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+20,(getPos _box select 1)-20,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-100,(getPos _box select 1)+56,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+100,(getPos _box select 1)-100,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-55,(getPos _box select 1)+123,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+577,(getPos _box select 1)-83,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+35,(getPos _box select 1)-99,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+100,(getPos _box select 1)-100,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-431,(getPos _box select 1)-431,0]; "Airdropmarker" setMarkerAlpha 0; "Airdropmarkertext" setMarkerAlpha 0; deleteMarker "airbox_marker"; deleteMarker "Airdropmarker"; deleteMarker "Airdropmarkertext"; airdrop_goingon = false;
  48. 1 point
    Try this in your debug console - wait a few minutes and see if it works [[10018,12119.2,0.00144005],"TON_fnc_generateAirdrop",false,false] spawn life_fnc_MP;
  49. 1 point
    Hello everyone, this panel used to be posted on this website along time ago and then it went down It's back now is the main thing. Below is just small preview of the features that this panel has to offer. Also to point out that this is a remake of the ZamZam panel made along time ago.
  50. 1 point