Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 01/18/2018 in all areas

  1. 5 points
    Author: Black Lagoon Original Video: Youtube (but this video not working on 5.0 it is old video) Hi, 1. Download this files, Download files from mega 2. Extract all files to your mission file. 3. Go into your "Functions.hpp" then add this codes after class Master_Directory class Market { file = "core\market"; class openMarketView {}; class refreshMarketView {}; class marketShortView {}; class marketBuy {}; class marketSell {}; class marketGetBuyPrice {}; class marketGetSellPrice {}; class marketconfiguration {}; class marketReset {}; class marketChange {}; class marketGetRow {}; class marketGetPriceRow {}; class marketSetPriceRow {}; }; Like this, class Master_Directory { file = "core"; class initCiv {}; class initCop {}; class initMedic {}; class setupActions {}; class setupEVH {}; class survival {}; class welcomeNotification {}; }; class Market { file = "core\market"; class openMarketView {}; class refreshMarketView {}; class marketShortView {}; class marketBuy {}; class marketSell {}; class marketGetBuyPrice {}; class marketGetSellPrice {}; class marketconfiguration {}; class marketReset {}; class marketChange {}; class marketGetRow {}; class marketGetPriceRow {}; class marketSetPriceRow {}; }; 4. And add this code to into your class Functions. class randomRound {}; 5. Then go into your "dialogs\MasterHandler.hpp" and add this code to end of the file. #include "common_EditorWrapper.hpp" #include "market.hpp" 6. Go into your "dialogs\player_inv.hpp" and add this code after the class ButtonSyncData. class ButtonMarket : Life_RscButtonMenu { idc = 3025; text = "Market"; onButtonClick = "[] spawn life_fnc_openMarketView;"; x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); y = 0.805; w = (6.25 / 40); h = (1 / 25); }; Like this, class ButtonSyncData : life_RscButtonMenu { idc = -1; //shortcuts[] = {0x00050000 + 2}; text = "$STR_PM_SyncData"; onButtonClick = "[] call SOCK_fnc_syncData;"; x = 0.1; y = 0.805; w = (6.25 / 40); h = (1 / 25); }; class ButtonMarket : Life_RscButtonMenu { idc = 3025; text = "Market"; onButtonClick = "[] spawn life_fnc_openMarketView;"; x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); y = 0.805; w = (6.25 / 40); h = (1 / 25); }; 7. Go into your "init.sqf" at the main directory and add this code. if(isDedicated && isNil("life_market_prices")) then { [] call life_fnc_marketconfiguration; diag_log "Market prices generated!"; "life_market_prices" addPublicVariableEventHandler { diag_log format["Market prices updated! %1", _this select 1]; }; //Start server fsm [] execFSM "core\fsm\server.fsm"; diag_log "Server FSM executed"; }; Finally, you can edit item prices from fn_marketConfiguration.sqf and you can edit "News: item increased-decreased." broadcasts from fn_marketChange.sqf".
  2. 5 points
    Working Scripts Archive easy access to all available scripts _____________________________________________________________________________________________________________________________________________ UI and Informational Professional looking HUD Intro Music Intro Music 2 Intro Text Intro Cam Intro Video Outro Script StatusBar Removing Default Statusbar Spawn Menu Redone Updated HUD IPAD Y Menu IPAD Y Menu 2 AI Based Scripts Dynamic Airdrop Improvements & Basic Features Brighter Nights Simply Morphine and Bandages Dynamic market 5.0 Custom Spawn Loadouts for Civilians Seat Belts Patdown Player + Seize Objects Realistic Towing Ear Plugs Rubber Bullets Realistic CPR Kit Actions Menu Tag System Speed Bomb Zip Ties Police Backup Jaws of Life Realistic Tazer Hand Gestures Buyable Loadouts Backpack Custom Capacity Marijuana Effects Gag Action Fastrope Auto Save Adding Smoke Effect to Processing Placeable Objects for Police Invisible Backpacks for police/med Anti VDM Block Changing Names Cops can enter locked vehicles Warner's Barriers Configurable Jail Time Adding police radar GPS System Car Alarm Boat Rental Civilian Passports Police Gate Opening Hotkey Adding Smoke Trails to Cesna Suicide Vest Automatic Messages Animal Tracking (for Hunting) Wedding rings Systems and Complex Features Questing System Zipties Revised [Fully Working, With Gag and Blindfolds] Vehicle Insurance RYANTTS DYNAMIC MARKET SYSTEM OPFOR 4.4 Advanced Banking System, With Pins MrKraken's Gas Station Robbery Script Bounty Hunting Framework [Dialog, DB, Player Interaction] Altis Central Bank - Second Fed Purge [Server Event] Crafting System Slot Machines Bus Transportation Physical Cellphone Gang Capturable Areas Tutorials Basic Coding Tutorial Moving the Federal Reserve Task force Radio Black screen when not in channel ETC Separate Police/Civ Cash & Bank Account Gang Name Spawns Custom Medic & Cop Skins Adding Licenses 4.4 Tobacco-field Civilian Whitelisting Installing Task Force Radio (Addon/Mod) Mining with Shift+C Custom Paychecks Official Paid Scripts Maverick Applications Let me know if i missed anything
  3. 5 points
    Hello all, Today we had a thread reported "Tool: Generator Class & Shop Arma3 Altislfie" which contained a tool to generate Config_Vehicle classes for vehicles and stores based on text box inputs (see image below). Upon investigation the application (although functional) included a RAT (remote access tool / backdoor) and a key logger. The tool included a dropper which installed the virus onto your machine and onto any connected storage devices such as USB sticks, if you have ran this application I would highly recommend formatting any external storage devices. VirusTotal scan of the .rar file VirusTotal scan of the executed virus The user who created the post has since been banned and the post removed. IMPORTANT If you had downloaded this application (from either here or from the link in the video description from the post) then please check the following (only applicable for Windows): remove SEE_MASK_NOZONECHECKS from your windows environment variables (how-to). check for c91b31a7dd6aea056205bfae04cfff82 in your windows registry (use regedit, ctrl-f) if you find it remove the entry. (how-to) If you are aware that your machine has been infected, I would recommend blocking traffic with the IP address it communicates with (103.212.181.48) (how-to). We do not condone attacking that IP address or it's owner and do not know if the owner is aware of the virus acting from it, steps have been taken to contact them. Going forward we will be taking steps to ensure this does not happen again, we have since made the tools sub-forum require all threads to be approved before being posted to the site where we will run VirusTotal scans of all content uploaded to the thread before allowing it. Any positives from the scans will be investigated as false positives can still occur. We would like to thank you for your understanding and are sorry to those affected.
  4. 5 points
  5. 4 points
    The hell is a chief technical officer of an arma server
  6. 3 points
    Couldn't you do the following: In Config_Master under paycheck settings /* Special member pay */ //Call it whatever you want special_paycheck = 5000; In Altis_Life.Altis/core/init.sqf under paycheck stuff add special_paycheck = LIFE_SETTINGS(getNumber,"special_paycheck"); CONSTVAR(special_paycheck); in client.FSM replace " if (player distance (getMarkerPos ""fed_reserve"") < 120 && playerSide isEqualTo west) then {" \n " systemChat format [localize ""STR_FSM_ReceivedPay"",[(call life_paycheck) + 1500] call life_fnc_numberText];" \n " life_atmbank = life_atmbank + (call life_paycheck) + 1500;" \n " } else {" \n " life_atmbank = life_atmbank + (call life_paycheck);" \n " systemChat format [localize ""STR_FSM_ReceivedPay"",[(call life_paycheck)] call life_fnc_numberText];" \n " };" \n with " if (player distance (getMarkerPos ""fed_reserve"") < 120 && playerSide isEqualTo west) then {" \n " systemChat format [localize ""STR_FSM_ReceivedPay"",[(call life_paycheck) + 1500] call life_fnc_numberText];" \n " life_atmbank = life_atmbank + (call life_paycheck) + 1500;" \n " if !(profileNameSteam find ""www.WEBSITENAME.com"" isEqualTo -1) then {" \n " systemChat ""You received $5000 for having wwww.WEBSITENAME.com in your steamName;" \n " life_atmbank = life_atmbank + (call special_paycheck);" \n " } else {" \n " systemChat ""You missed out on $5000 due to not having www.WEBSITENAME.com in your steamName;" \n " };" \n " } else {" \n " life_atmbank = life_atmbank + (call life_paycheck);" \n " systemChat format [localize ""STR_FSM_ReceivedPay"",[(call life_paycheck)] call life_fnc_numberText];" \n " if !(profileNameSteam find ""www.WEBSITENAME.com"" isEqualTo -1) then {" \n " systemChat ""You received $5000 for having wwww.WEBSITENAME.com in your steamName;" \n " life_atmbank = life_atmbank + (call special_paycheck);" \n " } else {" \n " systemChat ""You missed out on $5000 due to not having www.WEBSITENAME.com in your steamName;" \n " };" \n " };" \n So that the value being given can't be (easily) edited and the players are given the money at the same time as getting their paycheck? (correct me if I'm wrong I just thought of this on the fly)
  7. 3 points
    You didn't answer as to where you will be selling. Also, 30 quid worth of expenses? Shit dude, that must be hard. 🤣
  8. 3 points
  9. 3 points
    Author: Unknown ALL STEP FOR THE LIFE_SERVER 1. Creat a new .sqf file and named it "trafficLights.sqf" and copy following in the file: /* File: trafficLights.sqf */ _1a1 = nearestObject [[8538.83,6580.55,0.0999994], "Land_E76_trafficlight02a"]; _1a2 = nearestObject [[8564.94,6599.19,0.0999994], "Land_E76_trafficlight02a"]; _1b1 = nearestObject [[8560.69,6576.75,0.0999994], "Land_E76_trafficlight02a"]; _1b2 = nearestObject [[8542.31,6603.25,0.0999994], "Land_E76_trafficlight02a"]; _2a1 = nearestObject [[8559.91,6702.75,0.0999994], "Land_E76_trafficlight02a"]; _2a2 = nearestObject [[8584.66,6711.34,0.0999994], "Land_E76_trafficlight02a"]; _2b1 = nearestObject [[8582.81,6698.59,0.0999994], "Land_E76_trafficlight03a"]; _2b2 = nearestObject [[8561.75,6715.16,0.0999994], "Land_E76_trafficlight03a"]; _3a1 = nearestObject [[8633.36,6689.42,0.0999994], "Land_E76_trafficlight02a"]; _3a2 = nearestObject [[8658.5,6698.38,0.0999994], "Land_E76_trafficlight02a"]; _3b1 = nearestObject [[8635.84,6702.06,0.0999994], "Land_E76_trafficlight03a"]; _3b2 = nearestObject [[8656.66,6685.59,0.0999994], "Land_E76_trafficlight03a"]; _4a1 = nearestObject [[8654.06,6808.72,0.0999994], "Land_E76_trafficlight02a"]; _4a2 = nearestObject [[8681.03,6826.94,0.0999994], "Land_E76_trafficlight02a"]; _4b1 = nearestObject [[8677.22,6803.5,0.0999994], "Land_E76_trafficlight02a"]; _4b2 = nearestObject [[8659.03,6830.69,0.0999994], "Land_E76_trafficlight02a"]; _5a1 = nearestObject [[3566.718,7536.303,0.0999994], "Land_E76_trafficlight02a"]; _5a2 = nearestObject [[3549.829,7560.835,0.0999994], "Land_E76_trafficlight02a"]; _5b1 = nearestObject [[3566.718,7536.303,0.0999994], "Land_E76_trafficlight02a"]; _5b2 = nearestObject [[3549.829,7560.835,0.0999994], "Land_E76_trafficlight02a"]; _6a1 = nearestObject [[3474.609,7607.043,0.0999994], "Land_E76_trafficlight02a"]; _6a2 = nearestObject [[3466.915,7628.361,0.0999994], "Land_E76_trafficlight02a"]; _6b1 = nearestObject [[3479.372,7630.38,0.0999994], "Land_E76_trafficlight02a"]; _6b2 = nearestObject [[3459.278,7609.513,0.0999994], "Land_E76_trafficlight02a"]; _7a1 = nearestObject [[8300.073,6360.755,0.0999994], "Land_E76_trafficlight02a"]; _7a2 = nearestObject [[8320.945,6368.557,0.0999994], "Land_E76_trafficlight02a"]; _7b1 = nearestObject [[8315.313,6356.344,0.0999994], "Land_E76_trafficlight02a"]; _7b2 = nearestObject [[8306.522,6375.654,0.0999994], "Land_E76_trafficlight02a"]; as = [_1a1,_1a2,_2a1,_2a2,_3a1,_3a2,_4a1,_4a2,_5a1,_5a2,_6a1,_6a2,_7a1,_7a2];//as on same bs = [_1b1,_1b2,_2b1,_2b2,_3b1,_3b2,_4b1,_4b2,_5b1,_5b2,_6b1,_6b2,_7b1,_7b2];//bs on same //beim start auf rot setzen bs { _x animate ["switchred",0]; } foreach bs; active = as; lightSwitch = true; counter = 0; _lightLoop = { if(counter == 0) exitWith { { _x animate ["switchgreen",0]; } foreach active; { _x animate ["switchred",1]; } foreach active; counter = 3; }; if(counter < 17 && {counter > 0}) exitWith { counter = counter + 3; }; if(counter == 18) exitWith { { _x animate ["switchgreen",1]; } foreach active; { _x animate ["switchyellow",0]; } foreach active; counter = 21; }; if(counter < 23 && {counter > 17}) exitWith { counter = counter + 3; }; if(counter == 24) exitWith { { _x animate ["switchyellow",1]; } foreach active; { _x animate ["switchred",0]; } foreach active; counter = 27; }; if(lightSwitch) then { active = bs; lightSwitch = false; } else { active = as; lightSwitch = true; }; if(counter == 27) then { counter = 0; }; if(isServer && {life_loopExit}) exitWith { [_this select 1] call CBA_fnc_removePerFrameHandler; as = nil; bs = nil; active = nil; lightSwitch = nil; counter = nil; [] remoteExecCall ["TON_fnc_trafficLights",hc_1]; }; if(isServer && {!isNil "hc_1"} && {!isNil "life_HC_isActive"} && {life_HC_isActive}) exitWith { [_this select 1] call CBA_fnc_removePerFrameHandler; life_loopExit = true; as = nil; bs = nil; active = nil; lightSwitch = nil; counter = nil; [] remoteExecCall ["TON_fnc_trafficLights",hc_1]; }; }; [_lightLoop, 3, []] call CBA_fnc_addPerFrameHandler; 2. Now open the init.sqf and past on the bottom of the file following: [] execVM "\life_server\trafficLights.sqf"; Finish !
  10. 2 points
    Performance Issue with this intro, you have an infinite loop that is never terminated and will stay running:
  11. 2 points
    Author: ScarsoLP Post From: Click Me Step One: Create a file in the functions folder called fn_initPayChecks.sqf and then copy and paste the code below. #include "..\..\script_macros.hpp" /* File: fn_initPayChecks.sqf Author: ScarsoLP Description: Changes The Player(s) paycheck depending on what rank/level they are in the Police/NHS/Donator. Also changes the palyer(s) paycheck depending on what licenses they have. */ /* Changes The Paycheck Depending On Levels */ switch (playerSide) do { case west: { switch(FETCH_CONST(life_coplevel)) do { case 0: {life_paycheck = life_paycheck + 0;}; case 1: {life_paycheck = life_paycheck + 2000;}; case 2: {life_paycheck = life_paycheck + 2500;}; case 3: {life_paycheck = life_paycheck + 3000;}; case 4: {life_paycheck = life_paycheck + 3500;}; case 5: {life_paycheck = life_paycheck + 4000;}; case 6: {life_paycheck = life_paycheck + 4500;}; case 7: {life_paycheck = life_paycheck + 5000;}; }; switch(FETCH_CONST(life_donorlevel)) do { case 0: {life_paycheck = life_paycheck + 0;}; case 1: {life_paycheck = life_paycheck + 2000;}; case 2: {life_paycheck = life_paycheck + 2500;}; case 3: {life_paycheck = life_paycheck + 3000;}; case 4: {life_paycheck = life_paycheck + 3500;}; case 5: {life_paycheck = life_paycheck + 4000;}; }; }; case independent: { switch(FETCH_CONST(life_mediclevel)) do { case 0: {life_paycheck = life_paycheck + 0;}; case 1: {life_paycheck = life_paycheck + 2000;}; case 2: {life_paycheck = life_paycheck + 2500;}; case 3: {life_paycheck = life_paycheck + 3000;}; case 4: {life_paycheck = life_paycheck + 3500;}; case 5: {life_paycheck = life_paycheck + 4000;}; }; switch(FETCH_CONST(life_donorlevel)) do { case 0: {life_paycheck = life_paycheck + 0;}; case 1: {life_paycheck = life_paycheck + 2000;}; case 2: {life_paycheck = life_paycheck + 2500;}; case 3: {life_paycheck = life_paycheck + 3000;}; case 4: {life_paycheck = life_paycheck + 3500;}; case 5: {life_paycheck = life_paycheck + 4000;}; }; }; case civilian: { switch(FETCH_CONST(life_donorlevel)) do { case 0: {life_paycheck = life_paycheck + 0;}; case 1: {life_paycheck = life_paycheck + 2000;}; case 2: {life_paycheck = life_paycheck + 2500;}; case 3: {life_paycheck = life_paycheck + 3000;}; case 4: {life_paycheck = life_paycheck + 3500;}; case 5: {life_paycheck = life_paycheck + 4000;}; }; }; }; Step Two: go to the Functions.hpp under class Functions add: class initPayChecks {}; Step Three: Add this call at the bottom in fn_initMedic.sqf, fn_initCop.sqf, fn_initCiv.sqf [] call life_fnc_initPayChecks; There is probably a better file to call for this but I have always had the call here so it will stay here. Now you can change the values in the script to fit what you would like and have a blast
  12. 2 points
    Well that is your opinion. No worries.. You joined 3/17 hmm you join just to comment on on this thread ? You seem to know the old server but are very new here.
  13. 2 points
    What's your favorite thing about the hpp language?
  14. 2 points
    Exactly. We are actually improving this server DAILY and trying to make it as unique as possible. APD Checkpoint in our server isnt just a checkpoint. You need a specific license for it which we call it "APD Checkpoint Pass" and if you have one, you can get through the checkpoint. So it is some kind of a script we have done there. Police departments, once again it is RPU, NPAS and so on. The ones that have RPU license will have access to RPU weapon shop, clothing etc...
  15. 2 points
    Hey guys, this time i'm gonna teach you how to install my Remote Warning System on your framework's copy. This system is used by all of the brazilian servers and it's useful for those who want to send warnings without speak with the target. Difficulty: Easy Features: - Fully configurable - Play a sound when the msg get arrived into the target - All teams have access to it (COP/CIV/MED) - Official script RELEASE 1. Open your Config_Master.hpp and paste the followed code into your Life_Settings class: /* CXP REMOTE WARNING SYSTEM */ // Change the menu's strings on the stringtable package /* Syntax: cxp_rewa_cfg[] = { { "civ", // Side { "Btn1Title", // If you don't wanna enable this button, just let this string empty "Description", // Tooltip of the button "FinalMsg", // Final message that will be shown on the target screen "FinalSound" // If you don't wanna send an audio, just let this string empty }, { "Btn2Title", "Description", "FinalMsg", "FinalSound" }, { "Btn3Title", "Description", "FinalMsg", "FinalSound" } } }; */ cxp_rewa_dist = 500; // Max distance that a player can send a warning to the target cxp_rewa_cfg[] = { // CIVILIAN { "civ", // Don't change this string { // Button 1 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" }, { // Button 2 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" }, { // Button 3 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" } }, // COPS { "cop", // Don't change this string { // Button 1 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" }, { // Button 2 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" }, { // Button 3 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" } }, // MEDICS { "med", // Don't change this string { // Button 1 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" }, { // Button 2 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" }, { // Button 3 "STOP", "Stop or i kill you!", "Stop or i kill you!", "" } } }; 2. Open your core\functions\fn_keyHandler.sqf file and paste the followed code just like the example: // CXP Remote Warning - TAB key case 15 : { if (!_alt && !_ctrlKey && isPlayer cursorTarget && !dialog && !(player getVariable ["restrained",false]) && {!life_action_inUse} && !(isNull cursorTarget) && (currentWeapon player isEqualTo primaryWeapon player || currentWeapon player isEqualTo handgunWeapon player) && currentWeapon player != "") then { if (player distance cursorTarget < LIFE_SETTINGS(getNumber,"cxp_rewa_dist")) then { [cursorTarget] call life_fnc_cxpReWaOpenMenu; } else { hint format["You need to be under %1 meters of the target to send him a remote warning!",LIFE_SETTINGS(getNumber,"cxp_rewa_dist")]; }; } else { hint "Invalid target or you're disarmed!"; }; }; 3. Open your dialog\Master_Handler.hpp file and paste the followed line into it: /* Master UI Resource File */ #include "common.hpp" #include "shop_items.hpp" #include "player_inv.hpp" #include "gang.hpp" #include "key_chain.hpp" #include "impound.hpp" #include "bank.hpp" #include "veh_shop.hpp" #include "shops.hpp" #include "hud_stats.hpp" #include "admin_menu.hpp" #include "cell_phone.hpp" #include "wanted_list.hpp" #include "ticket.hpp" #include "clothing.hpp" #include "trunk.hpp" #include "spawnSelection.hpp" #include "chop_shop.hpp" #include "pInteraction.hpp" #include "deathScreen.hpp" #include "vehicleShop.hpp" #include "vehicleShop3D.hpp" #include "settings.hpp" #include "federalReserve.hpp" #include "compensate.hpp" #include "FuelStat.hpp" #include "newsStation.hpp" #include "cxp_remWarn_menu.hpp" // Add this include HERE!! 4. Open your Functions.hpp file and follow the example: class Dialog_Controls { file = "dialog\function"; class bankDeposit {}; class bankTransfer {}; class bankWithdraw {}; class displayHandler {}; class gangDeposit {}; class gangWithdraw {}; class garageLBChange {}; class impoundMenu {}; class progressBar {}; class safeFix {}; class safeInventory {}; class safeOpen {}; class safeTake {}; class sellGarage {}; class setMapPosition {}; class spawnConfirm {}; class spawnMenu {}; class spawnPointCfg {}; class spawnPointSelected {}; class unimpound {}; class vehicleGarage {}; class wireTransfer {}; class cxpReWaSend {}; // First line to add class cxpReWaOpenMenu {}; // Second line to add }; class Functions { file = "core\functions"; class AAN {}; class accType {}; class actionKeyHandler {}; class animSync {}; class calWeightDiff {}; class checkMap {}; class clearVehicleAmmo {}; class dropItems {}; class escInterupt {}; class fetchCfgDetails {}; class fetchDeadGear {}; class fetchVehInfo {}; class isDamaged {}; class giveDiff {}; class handleDamage {}; class handleInv {}; class handleItem {}; class hideObj {}; class hudSetup {}; class hudUpdate {}; class inventoryClosed {}; class inventoryOpened {}; class isUIDActive {}; class keyHandler {}; class loadDeadGear {}; class loadGear {}; class nearATM {}; class nearestDoor {}; class nearUnits {}; class numberText {}; class onFired {}; class onTakeItem {}; class playerSkins {}; class playerTags {}; class postNewsBroadcast {}; class pullOutVeh {}; class pushObject {}; class receiveItem {}; class receiveMoney {}; class revealObjects {}; class saveGear {}; class simDisable {}; class stripDownPlayer {}; class teleport {}; class whereAmI {}; class custPlaySound {}; // Add this line here too }; 5. Open your CfgRemoteExec.hpp file and follow the example: #define F(NAME,TARGET) class NAME { \ allowedTargets = TARGET; \ }; #define JIP(NAME,TARGET) class NAME { \ allowedTargets = TARGET; \ jip = 1; \ }; #define ANYONE 0 #define CLIENT 1 #define SERVER 2 #define HC HC_Life class CfgRemoteExec { class Functions { mode = 1; jip = 0; /* Client only functions */ F(life_fnc_custPlaySound,CLIENT) // HERE!!!!!!!!!!!! 6. Open your stringtable.xml file and follow the example: <?xml version="1.0" encoding="utf-8"?> <Project name="Altis Life RPG"> <!-- YES, BEFORE YOUR 'Init' PACKAGE I REALLY DON'T CARE ABOUT THE POSITION OF THIS ONE --> <Package name="STR_CXP_REMWARN"> <Key ID="STR_CXP_REMWARN_String1"> <Original>Click on a button to send</Original> </Key> <Key ID="STR_CXP_REMWARN_String2"> <Original>a msg to your target:</Original> </Key> </Package> 7. Download the attached files and paste it into the dialog\ and dialog\functions\ folders. Now you're done! *dialog\cxp_remWarn_menu.hpp *dialog\function\fn_cxpReWaOpenMenu.sqf *dialog\function\fn_cxpReWaSend.sqf *core\functions\fn_custPlaySound.sqf Last post edit: 'fixed the broadcast function parameter' RESULT: https://imgur.com/16HjmUP DOWNLOADS: cxp_remWarn_menu.hpp fn_custPlaySound.sqf fn_cxpReWaOpenMenu.sqf fn_cxpReWaSend.sqf
  16. 2 points
    Vous devriez probablement obtenir un nom de domaine pour votre website et fournir des images à partir du serveur.
  17. 2 points
    Hey guys so i was looking around for a qilin template and i couldn't find one so i took a quick gander in the files and found it! so i will be showing you guys how to find the vehicle of your choice in the files. ______________________________Tutorial______________________________ So where i found this vehicle is in the arma folder common\Arma 3\Expansion\Addons\soft_f_exp.pbo depending on the vehicles you're looking for they may be in different folders few listed here common\Arma 3\Addons\soft_f_gamma.pbo Contains Hatchback_01 Offroad_01 Quadbike_01 SUV_01 Truck_01 Truck_02 Van_01 common\Arma 3\Expansion\Addons\soft_f_exp.pbo Contains LSV_01 LSV_02 MRAP_01 MRAP_02 UGV_01 And others but this should get you started for the most part of finding templates something i noticed is that things labeled with "Soft" is light vehicles anyway good luck __________________________________________________________Qillin Template________________________________________________________
  18. 2 points
    Altis_Life.Altis/core/civilian/fn_jail.sqf Line 26 player setPos (getMarkerPos "jail_marker"); You need to change this to an actual position array. I suggest that you go into editor and place a object down exactly where you want them to spawn. Once you have done that, right click the object and select "log position to clipboard". Now that you have done that, paste what you have copied into the above code. Your code should end up looking something like this: player setPos [0,0,0]; Hope this helps.
  19. 2 points
    Learning is the key to success. https://community.bistudio.com/wiki/Stringtable.xml
  20. 2 points
    I have some custom skins, that I am willing to edit to your liking here is a demo, that I use for my server. I can edit fonts, badges on the arms/chest change lines along the pants, change wording Etc, you would like the colors to be all back or say something else instead of ______ This is what I use for my server and everybody seems to like it. I personally do I can also make medic skins if you wish Here are some in game screenshots...>
  21. 2 points
    Thought i would share my custom Sports Hatchback template Has Layers of each part and grouped for easy management Enjoy https://drive.google.com/file/d/1AmbfzykO8f0tT_8QZALFEdSvld_JgA9V/view?usp=sharing
  22. 2 points
  23. 2 points
    Welcome, I'm curious about your walking paper. Is it your pet?
  24. 2 points
    Not Tested! This will allow you to access the cop interaction menu for the driver whilst they are in the vehicle(dah they're the driver). It will then only show the check licenses and ticket options. Firstly you need to add another button to your "vIteraction_Menu" dialog, Example: https://hastebin.com/idaqunekuy.hs Then do this in your "fn_vInteractionMenu", Define you new button at the top: Define the local variable for your new button: Add the following variable: _driver = driver life_vInact_curTarget; The above variable must be added after: life_vInact_curTarget = _curTarget; Then after: Add: Then in your "fn_copInteractionMenu" do the following: Underneath, _curTarget = param [0,objNull,[objNull]]; Add, _inCar = param [1,false,[false]]; Then do: Below or above, if (player getVariable ["isEscorting",false]) then { { _x ctrlShow false; } forEach [_Btn1,_Btn2,_Btn3,_Btn5,_Btn6,_Btn7,_Btn8]; }; Add, if (_inCar) then { { _x ctrlShow false; } forEach [_Btn1,_Btn3,_Btn4,_Btn6,_Btn7,_Btn8]; }; Let me know how it goes.
  25. 2 points
    Tell us about yourself: Well for starters my name is Maihym and I've been developing my own Altis Life mission for a while now. I run my own community called Chaotic Gaming and I'm just looking for some other things to do. What skills do you possess that you feel will help you do well as a helper? I am patient, organized, and knowledgeable. I don't make empty promises or act like I know what I'm talking about when I don't. If I tell someone I can help them then it's because I can. Have you ever been banned/kicked ( if yes please specify why )? No Your date of birth: 11/16/1999/ What's your experience with SQF and SQL languages, or other sorts of Arma related development? I have a lot of experience with SQF and SQL. I also have a decent amount of experience with PHP. I've built my own custom scripts such as a combat logger catching system, an in-depth death log, money logger, IP logger, and an auto whitelisting script.There is more but those are some of my recent scripts. What is the first thing you would like to change about the forums(Nothing? then NA)? Personally I think there should be more "Official" tutorials that people can rely on. There are lots of tutorials out there that won't work for the general public. So we should make broad tutorials on things such as administrating a server, setting up a server, configuring a server, and even adding scripts. Do you have Discord? Yes Do you have any problems working with other staff members? No Why do you want to be a Helper? I want to be a helper because I've been around here for so long I think it's time for improvements. There doesn't seem to be a lot of activity as there used to be and I would like to change that. I just want to see Altis Life be what is used to be. How would you deal with someone being rude towards members? I would send them a PM telling them to stop being rude to others or face a temporary ban. If they continue after their ban then I would permanently ban them. It's ok to debate, but it's stupid to have a pissing contest. If you were to become a helper, would a moderator position be appealing to you as well in the future? Definitely, I honestly think I would be better off as a moderator because I like enforcing the rules. Why should one person be allowed to break those rules when others have to abide by them? I just want to see everyone getting along and I think I can help make that happen.
  26. 2 points
    "Contact infishit support" Prob your best bet buddy.
  27. 2 points
    there isnt even a website or information. are you kidding me?
  28. 2 points
    Not sure why you'd name yourself that as this community features everything every other community does. Tell me why should someone join it instead of any other altis community? Note; not sure how having 7 cop ranks is a feature either.. Constructive criticism, that's all. Wish you best of luck anyways!
  29. 2 points
    You know what I like? Communities that take their rankings way too seriously, treating it like a company and they have ranks for literally everything. Founder CEO Owner Co-Owner Director of Communications Director of Development Director of Operations Director of Administration Director of Support Community Advisor Community Manager Project Lead Senior Developer Developer Staff Manager Head Administrator Senior Administrator Administrator Trial Administrator Moderator Trial Staff Head of Support Support Team These are ranks for a "roleplay" game mode within a military simulator game, all the ranks a community needs: Owner - owns the server Co-Owner - co-owns the s Community Manager - organize events for the community, make sure server is running properly, manage social media pages (if you have any) Staff Manager - manages the staff duh Admin - everyone knows what an admin does Moderator - everyone knows what a moderator does Trial Staff - little rank with no perms but can move people in Teamspeak to answer questions ecks dee Head-Developer - manages developers, organizes projects Developer - everyone knows what a developer does
  30. 1 point
  31. 1 point
    Ahh well hes under diff name now so no idea.
  32. 1 point
    Make them a license and assign it to them, then base your spawns and gear/cars around that said license. A simple and easier way to do it
  33. 1 point
    Is your database actually called nil839093_1_DB??? Do you have a root user? What are you using ito do all this? MYSQL workbench or something else?
  34. 1 point
    Tell us about yourself: My name is Kaiden, I am 17 years old and use a lot of time developing for Arma 3. On a normal day in my life, I go to school and or work. Then after school I either or work, I go work out at the gym or go to my boxing class. What skills do you possess that you feel will help you do well as a helper?: I can do the work and deliver exceptional results. I will fit in beautifully and be a great addition to the team. I possess a combination of skills and experience that makes me stand out from the crowd. Choosing me for this position is the right choice if you need someone with a great amount of experience who can work daily. Have you ever been banned/kicked ( if yes please specify why )?: No, I have not. Your date of birth: 28/05/2000/ What's your experience with SQF and SQL languages, or other sorts of Arma related development?: I have played Arma 3 for about 2200 hours and most of those hours were spent on testing scripts, models, textures and terrain. I know a fine amount of SQF and SQL. I have run servers, implemented scripts, fixed errors, remade scripts and created a small number of custom scripts. Most important I understand both languages and if I have a problem I always work my ass off to fix it. I also model buildings, create textures and have a small amount of experience with the terrain builder. What is the first thing you would like to change about the forums(Nothing? then NA)?: I don't have anything specific, but there is always room for improvement. Do you have Discord?: Yes, I do Do you have any problems working with other staff members?: No, I do not. Why do you want to be a Helper?: I am mainly applying for this position because I am interested in becoming a part of this community as more than just a member. I am ready to dedicate a lot of time to the community. I feel like this website has given so much knowledge and help to me and it is, therefore, time for me to repay all the community and I think it would be a lot easier for me to help all the members in a position like Helper. How would you deal with someone being rude towards members?: I would give them a warning and if they kept being rude I would go on and punish them. If you were to become a helper, would a moderator position be appealing to you as well in the future?: Yes, it definitely would.
  35. 1 point
    Hahaha I forgot to delete it. I'll remove it when I get home. Thanks
  36. 1 point
    This is a bit of an old thread but I'll post the solution for those interested. I'm using the 4.4R3 framework with my mission file and I ran into the same issue as this. The problem occurs if your last query value is 13 or above which pushes either the life_houses and life_gangData values to be overridden by the _keyarr In case civilian in fn_requestrecieved.sqf case civilian: { life_is_arrested = _this select 7; CONST(life_coplevel, 0); CONST(life_medicLevel, 0); life_houses = _this select 13; if (LIFE_SETTINGS(getNumber,"save_playerStats") isEqualTo 1) then { life_hunger = ((_this select 9) select 0); life_thirst = ((_this select 9) select 1); player setDamage ((_this select 9) select 2); }; //Position if (LIFE_SETTINGS(getNumber,"save_civilian_position") isEqualTo 1) then { life_is_alive = _this select 10; life_civ_position = _this select 11; if (life_is_alive) then { if (count life_civ_position != 3) then {diag_log format["[requestReceived] Bad position received. Data: %1",life_civ_position];life_is_alive =false;}; if (life_civ_position distance (getMarkerPos "respawn_civilian") < 300) then {life_is_alive = false;}; }; }; { _house = nearestObject [(call compile format["%1",(_x select 0)]), "House"]; life_vehicles pushBack _house; } forEach life_houses; life_gangData = _this select 14; if (!(count life_gangData isEqualTo 0)) then { [] spawn life_fnc_initGang; }; [] spawn life_fnc_initHouses; }; A few select statements need to be changed for the levels to work First off you must find out which value is the last one in the array, starting at 0. As an example let say my last value is in the 14th position. This means that life_houses will be in position 15 because in 'life_server/Functions/MySQL/fn_queryRequest.sqf' it gets called/pushed into the _queryResult after the last _query value which in my case is 14. Secondly, this means that life_gangData must be changed to 16 because in 'life_server/Functions/MySQL/fn_queryRequest.sqf' it is pushed in after life_houses. life_gangData = _this select 16 Lastly in the 4.4R3 release the _keyArr is also assigned a position in _queryResult. To fix this you must change this in life_server/Functions/MySQL/fn_queryRequest.sqf _keyArr = missionNamespace getVariable [format["%1_KEYS_%2",_uid,_side],[]]; _queryResult set[15,_keyArr]; To value 17 because it is the next free position in the array. _keyArr = missionNamespace getVariable [format["%1_KEYS_%2",_uid,_side],[]]; _queryResult set[17,_keyArr]; In addition you must change the _keyarr part of your fn_requestRecieved to look like the following if (count (_this select 17) > 0) then { {life_vehicles pushBack _x;} forEach (_this select 17); }; After this you shouldn't run into any validation issues.
  37. 1 point
  38. 1 point
    The majority of the code is from the ArmA wiki that can be useful to Altis life admins: Execute all code in the debug menu. Please fell free to post any in the comments below. ----------------------------------------------------------------------------------------------------------------------------------- . Adds 100000 to in game cash life_atmcash = 100000; Adds Godmode to player player allowDamage false; . Destroys object in front of cross hair cursortarget setdamage 1 .Change Vehicle texture in game with Cursor Target: cursorTarget setObjectTextureGlobal [0, "\texture_namehere.jpg"] Removes weight life_carryWeight = 0 Repairs object in front of cross hair cursorTarget setDamage 0 Remove driver form vehicle moveOut driver vehicleplayer . Revives person in front of cross hair [[name player],"life_fnc_revived",cursorTarget,FALSE] spawn life_fnc_MP; . Impounds object in front of cross hair [cursorTarget] spawn life_fnc_impoundAction; . Kill yourself player setdamage 1 . Disables fatigue player enableFatigue false; . Full thirst life_thirst = 100; . Full hunger life_hunger = 100; . Spawns weed in inventory [true,"cannabis",1] call life_fnc_handleInv; . Teleport to where you click on the map onmapsingleclick "vehicle player setpos _pos" Disables Fatigue player enableFatigue false . Skips Time by 5 hours skipTime 5; .Removes all weapons removeAllWeapons player; . Show "entertexthere" at the top right on everyone's screen "if ran globally" hint "entertexthere"; . Heals Players player setDamage 0; . Shows text in middle of screen for whole server titleText ["Show this text", "PLAIN"]; . Deletes any vehicle you look at deleteVehicle cursorTarget . repairs any vehicle fully _timeForRepair = 0; _vehicle = vehicle player; hint format ["Please wait %1 seconds for repair/flip",_timeForRepair]; sleep _timeForRepair; if (_vehicle == player) then {_vehicle = cursorTarget;}; _vehicle setfuel 1; _vehicle setdamage 0; _vehicle = nil; vehicle = this select 0; _vehicle setvectorup [0,0,1]; . sets players ammo to 1 (change value for different amount) player setAmmo [currentWeapon player, 1]; Attaches GBU's to whoever _expl1 = "Bo_GBU12_LGB" createVehicle position player; _expl1 attachTo [player, [-0.1, 0.1, 0.15], "Pelvis"]; _expl1 setVectorDirAndUp [ [0.5, 0.5, 0], [-0.5, 0.5, 0] ]; _expl2 = "Bo_GBU12_LGB" createVehicle position player; _expl2 attachTo [player, [0, 0.15, 0.15], "Pelvis"]; _expl2 setVectorDirAndUp [ [1, 0, 0], [0, 1, 0] ]; _expl3 = "Bo_GBU12_LGB" createVehicle position player; _expl3 attachTo [player, [0.1, 0.1, 0.15], "Pelvis"]; _expl3 setVectorDirAndUp [ [0.5, -0.5, 0], [0.5, 0.5, 0] ]; Gives you some money life_atmcash = life_atmcash + 999999; Attaches smoke to players _expl1 = "G_40mm_SmokeBlue" createVehicle position player; _expl1 attachTo [player, [-0.1, 0.1, 0.15], "Pelvis"]; _expl1 setVectorDirAndUp [ [0.5, 0.5, 0], [-0.5, 0.5, 0] ]; _expl2 = "G_40mm_SmokeOrange" createVehicle position player; _expl2 attachTo [player, [0, 0.15, 0.15], "Pelvis"]; _expl2 setVectorDirAndUp [ [1, 0, 0], [0, 1, 0] ]; _expl3 = "G_40mm_SmokePurple" createVehicle position player; _expl3 attachTo [player, [0.1, 0.1, 0.15], "Pelvis"]; _expl3 setVectorDirAndUp [ [0.5, -0.5, 0], [0.5, 0.5, 0] ]; removes fog 0 setFog 0; forceWeatherChange; 999999 setFog 0; Removes fuel from player vehicle vehicle player setfuel 0; adds a weapon to player player addweaponglobal "arifle_MX_GL_F"; . Gives god mode to whoever player allowdamage false; . Blames player(edit ASTRAL with player in game.) 3 astrals ---------------- NO LONGER WORKING if(name player == "Astral")then{ } else { [] spawn {sleep 5; _BRG_popuptext = "<t size='1' color='#ff1111'>" + "WARNING Astral using SSPCM to cheat" + "</t>"; _BRG_popuptext2 = "<t size='1' color='#ff1111'>" + "Type in chat '#kick Astral' if want remove him in the game" + "</t>"; _BRG_value1 =[_BRG_popuptext,0.01,(safeZoneY + 0.05),0.5,0,0,90]spawn bis_fnc_dynamicText; playsound "Hint"; sleep 2; _BRG_value1 =[_BRG_popuptext,0.01,(safeZoneY + 0.05),0.5,0,0,90]spawn bis_fnc_dynamicText; sleep 2; _BRG_value1 =[_BRG_popuptext,0.01,(safeZoneY + 0.05),5,0,0,90]spawn bis_fnc_dynamicText; sleep 5; _BRG_value1 =[_BRG_popuptext2,0.01,(safeZoneY + 0.05),15,0,0,90]spawn bis_fnc_dynamicText; playsound "Hint"; }; }; puts a small sandstorm near player [player, -1, 0.8, true] call BIS_fnc_sandstorm; . Teleport people 700m in air _pos = getPosATL player; _pos set [2, 700]; player setPosATL _pos; player spawn bis_fnc_halo; . Attaches chicken to players head _expl1 = "Cock_random_F" createVehicle position player; _expl1 attachTo [player, [-0.1, 0.1, 0.15], "Head"]; _expl1 setVectorDirAndUp [ [0.5, 0.5, 0], [-0.5, 0.5, 0] ]; . Shows people on map if(stealthMarkerToggle == 1) exitWith {stealthMarkerToggle = 0; onEachFrame {}; {deleteMarkerLocal _x;} forEach markerList; hint "Markers disabled";}; stealthMarkerToggle = 1; markerList = []; markerUnits = []; hint "Markers enabled - Check map!"; while {true} do { if(stealthMarkerToggle == 0) exitWith {}; { _unit = _x; markerUnits = markerUnits + [_x]; _markerName = str(format ["%1",name _x]); _mName = "m" + _markerName; //player sidechat format ["%1",_markerName]; if(side _x == side player) then { _mName = createMarkerLocal [_markerName, position _x]; _mName setMarkerSizeLocal [0.6, 0.9]; _mName setMarkerShapeLocal "ICON"; _mName setMarkerTypeLocal "mil_triangle"; _mName setMarkerColorLocal "ColorBlue"; _mName setMarkerTextLocal _markerName; _mName setMarkerDirLocal (direction _x); markerList = markerList + [_mName]; } else { _unit = _x; markerUnits = markerUnits + [_x]; _mName setMarkerSizeLocal [0.6, 0.9]; _mName = createMarkerLocal [_markerName, position _x]; _mName setMarkerShapeLocal "ICON"; _mName setMarkerTypeLocal "mil_triangle"; _mName setMarkerColorLocal "ColorRed"; _mName setMarkerTextLocal _markerName; _mName setMarkerDirLocal (direction _x); markerList = markerList + [_mName]; }; //hint format ["%1",_mName]; } forEach allUnits; sleep 1; if(stealthMarkerToggle == 0) exitWith {}; {_x setMarkerPosLocal getPos (markerUnits select (markerList find _mName)); _x setMarkerDirLocal getDir(markerUnits select (markerList find _mName));} forEach markerList; sleep 1; if(stealthMarkerToggle == 0) exitWith {}; {_x setMarkerPosLocal getPos (markerUnits select (markerList find _mName)); _x setMarkerDirLocal getDir(markerUnits select (markerList find _mName));} forEach markerList; sleep 1; if(stealthMarkerToggle == 0) exitWith {}; {_x setMarkerPosLocal getPos (markerUnits select (markerList find _mName)); _x setMarkerDirLocal getDir(markerUnits select (markerList find _mName));} forEach markerList; sleep 1; if(stealthMarkerToggle == 0) exitWith {}; {_x setMarkerPosLocal getPos (markerUnits select (markerList find _mName)); _x setMarkerDirLocal getDir(markerUnits select (markerList find _mName));} forEach markerList; sleep 1; if(stealthMarkerToggle == 0) exitWith {}; {deleteMarkerLocal _x;} forEach markerList; markerUnits = []; markerList = []; }; . Gives speed upgrade to vehicles hint "Speed upgrade loaded!"; waituntil {!isnull (finddisplay 46)}; (findDisplay 46) displayAddEventHandler ["KeyDown","_this select 1 call MY_KEYDOWN_FNC;false;"]; MY_KEYDOWN_FNC = { _vcl = vehicle player; if(_vcl == player)exitwith{}; _nos = _vcl getvariable "nitro"; _supgrade = _vcl getvariable "supgrade"; if(isEngineOn _vcl) then { switch (_this) do { case 17: { if(isEngineOn _vcl and !isnil "_supgrade") then { _vcl SetVelocity [(velocity _vcl select 0) * 1.011, (velocity _vcl select 1) *1.011, (velocity _vcl select 2) * 0.99]; } else { _vcl setvariable ["supgrade", 1, true]; }; }; case 42: { if(isEngineOn _vcl and !isnil "_nos") then { _vcl setVelocity [(velocity _vcl select 0) * 1.01, (velocity _vcl select 1) * 1.01, (velocity _vcl select 2) * 0.99]; } else { _vcl setvariable ["nitro", 1, true]; }; }; }; }; }; Set your current CASH life_cash = 400000; Set your current ATM Balance life_atmcash = 400000; and for 4.4 (thanks to AlaskaVet) life_atmbank = 10000; Give yourself a licence license_civ_rebel = true; Possible values for the licence: license_cop_air license_cop_swat license_cop_cg license_civ_driver license_civ_air license_civ_heroin license_civ_marijuana license_civ_gang license_civ_boat license_civ_oil license_civ_dive license_civ_truck license_civ_gun license_civ_rebel license_civ_coke license_civ_diamond license_civ_copper license_civ_iron license_civ_sand license_civ_salt license_civ_cement license_med_air license_civ_home refresh your HUD [] call life_fnc_hudUpdate; Setting your carry weight to zero allows you to buy infinite amounts of things for your "z-Inventory" if you run it every time your max carry-weight is reached life_carryWeight = 0; Give yourself a z-Item [true,"cannabis",1] call life_fnc_handleInv; Alternatives for the "cannabis" part: (these are not all possibilities) oil / oilp diamond / diamondc heroin / heroinp copper / copper_r iron / iron_r sand / glass salt / salt_r cocaine / cocainep cannabis / marijuana heroin / heroinu cement / rock water Unrestrain yourself when a cop restrained you player setVariable["restrained",FALSE,TRUE]; Create a vehicle or another object in front of you _toSpawn = "O_G_Quadbike_01_F" createVehicle position player; Replace O_G_Quadbike_01_F with whatever you want. A list of vehicle names can be found here: https://community.bistudio.com/wiki/Arma_3_Assets Give yourself a weapon player addWeaponGlobal "arifle_Katiba_F"; A list of weapon names can be found here: https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons Give yourself magazines player addMagazineGlobal "30Rnd_556x45_Stanag_Tracer_Green"; List of magazines can be found here too (next to the weapons): https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Items Execute a command for a specific player: _uid = getPlayerUID player; if(_uid == "player_id") then{ THE_FUNCTION();}; Replace player_id with the PID of the player which should execute the function and replace THE_FUNCTION(); with the function you want to be executed for him. Teleport yourself into the air, and get a parachute player addBackpack "B_Parachute"; player setPos [getPos player select 0, getPos player select 1, 101]; Create an earthquake for yourself (execute globally for everyone to see it). This does no harm! It's just a nice effect. [] spawn BIS_fnc_earthquake; Get infinite ammunition player addeventhandler ["fired", {(_this select 0) setvehicleammo 1}]
  39. 1 point
    Im on there server right now its literally all stolen and do you wanna see one of there signs..
  40. 1 point
    well if u knew anything about coding you would know to make sure it works before posting RIPPED CODE
×
×
  • Create New...