Jump to content

CptGooch

Members
  • Content Count

    292
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by CptGooch

  1. Piece of cake. Put this in fn_vehicleShopLBChange.sqf if (FETCH_CONST(life_adminlevel) > 0) then { _buyMultiplier = 0; _rentMultiplier = 0; };
  2. other than a license I recommend just using your admin level to allow access to the shop.
  3. @Repentz may have something to say about you posting trailer park graphics without asking.
  4. Have you updated your case 38 if conditions to include the new vehicle class names? \core\functions\fn_keyHandler.sqf You should also make sure you have added all new vehicle class names to life_server\Functions\Systems\fn_spawnVehicle.sqf. Look for the following code around line 180. if ((_vInfo select 1) isEqualTo "cop" && ((_vInfo select 2)) in ["C_Offroad_01_F","C_SUV_01_F","I_C_Offroad_02_unarmed_F","C_Offroad_02_unarmed_F","C_Hatchback_01_sport_F","B_MRAP_01_F","I_MRAP_03_F","O_MRAP_02_F","B_Heli_Light_01_F","O_Heli_Light_02_unarmed_F","I_Heli_light_03_unarmed_F","C_Boat_Civil_01_police_F"]) then { [_vehicle,"cop_offroad",true] remoteExecCall ["life_fnc_vehicleAnimate",_unit]; }; if ((_vInfo select 1) isEqualTo "med" && ((_vInfo select 2)) in ["C_Offroad_01_F","C_SUV_01_F","I_C_Offroad_02_unarmed_F","C_Offroad_02_unarmed_F","C_Hatchback_01_sport_F","B_MRAP_01_F","I_MRAP_03_F","O_MRAP_02_F","B_Heli_Light_01_F","O_Heli_Light_02_unarmed_F","I_Heli_light_03_unarmed_F","C_Boat_Civil_01_police_F"]) then { [_vehicle,"med_offroad",true] remoteExecCall ["life_fnc_vehicleAnimate",_unit]; };
  5. The short answer is extDB2 is not compatible with x64.
  6. That isn't a bad idea. The reason I wanted to do it this was is so it will better with the gang rank system I am working on.
  7. Nope... I messed up the tutorial, and forgot to tell you to put life_gang_bank_time = 0; in your configuration.sqf
  8. I didn't see your comment, but if you are getting an error I am not, I am happy to help fix it. This will work for 4.4+. Please verify that you have followed my instructions.
  9. 1 yes, change the side conditions of revive in your action key handler. 2 you have an issue with your load and save dead gear. Get some fresh copies from the framework. I'm pretty sure that works by default.
  10. The difficulty setting on your server controls this. Check out this. https://community.bistudio.com/wiki/server.armaprofile
  11. I'm not sure the reason, but if you use your admin powers to spawn the taser and ammunition it will not trigger right in handle damage. Regardless if it is the correct class.
  12. How to Stop the Gang Bank Duplication Exploit Author: CptGooch Author Website: www.abeloth.com Short description: I got tired of seeing so many servers and even the framework with this exploit. Downloads: fn_gangDeposit.sqf & fn_gangWithdraw.sqf Installation Steps: Replace your fn_gangWithdraw.sqf and fn_gangDeposit.sqf found in dialog\function\ with the downloads provided Add the following to your core/configuration.sqf life_gang_bank_time = 0; Open your stringtable.xml and search (crtl+f) for STR_ATM_DepositInUseG Update the original text to <Original>Reconnecting to bank server. Please wait 10 seconds to deposit into your gang's bank account.</Original> Now find STR_ATM_WithdrawInUseG and update the original text to <Original>Reconnecting to bank server. Please wait 10 seconds to withdraw from your gang's bank account.</Original> Next, open up \dialog\bank.hpp Change your GangWithdraw button action to onButtonClick = "[] spawn {sleep (random 0.5);[] call life_fnc_gangWithdraw};"; And change your GangDeposit action to onButtonClick = "[] spawn {sleep (random 0.5);[] call life_fnc_gangDeposit};"; All done! No more Gang Bank Duping for those #%!#*^.
  13. I do not have this issue. What did you change in my script?
  14. SOURCE: http://www.armaholic.com/page.php?id=20465 Fockers Arma3 Scripting Guide Author: Mikie boy Author Website: http://fockers.moonfruit.com Version: 3.0 Short description: This is an old but useful guide from 2013. Chapter 1, 2 and 3 of Fockers Arma3 Scripting Guide Download Link: Fockers_Arma_Scripting_guide_v30.7z Features: The first chapter covers the basics of: Setting up a file, showscripterrors, and window mode Variables, assignment, initialization, and variable types. Init.sqf, interactions between the game world and the scripts. Alignment of code, bracket usage and setting out code. If/else statement, nested if/else statements. While, and both for-loops types. Commands - player, waituntil, getpos, createvehicle, createunit, hint, format, sleep and a few other bits. And a lot of reference on using BIS forums and the Wiki. The second chapter covers the basics of: Part 1: Basic Arrays Selecting elements Subtracting Addition forEach command Part 2: Basic Functions Local and global call Spawn Part 3: Making a basic Patrol function. Few other commands have been thrown in The third chapter covers the basics of: Part 1: Eventhandlers adding removing use of scope and exitwith command example usage and creation of eject and mine functions Part 2: Get and set Variable handle variables Create a driving licence system using eventhandlers and get/set variables to control access to vehicles Few other commands have been thrown in.
  15. If you can describe your issue and any logs we are happy to help.
  16. Please post your player_inv.hpp on hastebin.com and link it here.
  17. Take a look in your core/configuration.Sqf. I am not at my PC, but think default values are set here.
  18. Are you 100% sure is not a hacker? Hackers like to blow up random cars.
  19. hastebin these 3 files please. "scripts\DynWeather.sqf" "scripts\fn_statusBar.sqf" "intro\fn_introtext.sqf"
  20. Go into your life_server and in the root make a new file called restart.sqf, paste the following: sleep 10800; //3 hours "commandpasswordhere" serverCommand "#restartserver"; Now in your life_server init.sqf add [] execVM "restart.sqf" Simplest way to do it.
  21. So you must have this effect in some init file. Search your mission file for "dynamicBlur". You can use the search in project feature of Atom, or if you are just using notepad on windows... This tool will help. http://download.cnet.com/Windows-Grep/3000-2351_4-75805915.html
×
×
  • Create New...