Jump to content

James Adams

Members
  • Posts

    156
  • Joined

  • Last visited

About James Adams

Recent Profile Visitors

1,415 profile views

James Adams's Achievements

Dedicated Member

Dedicated Member (5/6)

3

Reputation

  1. Thanks for the feedback, made the appropriate changes and updated the post.
  2. I see, as said I appreciate the feedback and I thought I would share something. But the script does has cop level check ? The parameter has cop life level
  3. I wrote mine from scratch. It's to fit different cop levels and/or departments.
  4. Hello Guys, Below is a script that will assign a uniform and its texture depending on cop level. This script can be used for medics as well and/or other factions (donor etc). There are some things, or anything you can remove such as the additional system logs, this script has been tested and works on Altis Life 5.0 If there are any issues with this script I would gladly appreciate if anyone would tell me what and where the issue is, so I can edit the post and fix the issue. Feel free to post any additions/suggestions to this script or other script suggestions you would like to see, I am just starting out again after 3 years. 1. Go to fn_initCop.sqf in core\cop and add this: [] execVM "core\fn_copUniforms.sqf"; 2. Create a file in your core, and save it as: fn_copUniforms.sqf 3. Add the following to the .sqf file: #include "..\script_macros.hpp" #include "..\config\Config_Licenses.hpp" /* By: James_ - Discord: James_#8282 Purpose: initCop clothing function. objecttexture check & clothing assignment for normal cops & swat. */ private ["_texture","_dfltCop","_dfltCopUni","_swatMember","_swatUni"]; _texture = getObjectTextures player; _dfltCopUni = [0,"textures\cop_uniform.jpg"]; _dfltCop = [0,"call life_coplevel <= 6"]; //["license_cop_swat",false]; [(player) !(license_cop_swat))]; _swatMember = [0,"call life_coplevel >= 7"]; //["license_cop_swat",true]; _swatUni = [0,"textures\swatuniform.jpg"]; [] spawn { switch (player) do { case "dfltCopAssignUni": { //waitUntil (uniform player == "U_Rangemaster"); if player == ((_dfltCop) && !(_swatMember)) then { player forceAddUniform "U_Rangemaster"; player setObjectTextureGlobal [0,"textures\cop_uniform.jpg"]; waitUntil {((_texture) == (_dfltCopUni))}; sleep 3; if (player (((_texture) !(_dfltCopUni)) && !(_swatMember))) then { waitUntil {((_texture) == (_dfltCopUni)) && [] spawn case "dfltCopAssignUni";}; systemChat "first log of player not automatically receiving uniform (COP)"; sleep 2; }; if (player (((_texture) !(_dfltCopUni)) && !(_swatMember))) then { systemChat "player has not received uniform after 15 seconds"; titleText && hint "Please contact an Admin asap, and report to dev that u did not receive your uniform!"; if (player (((_texture) == (_dfltCopUni)) && !(_swatMember))) exitWith {}; }; }; }; case "swatAssignUni" : { if player == ((_swatMember) && !(_dfltCop)) then { //waitUntil (uniform player == "U_Rangemaster"); //waitUntil {uniform player != "U_Rangemaster"}; player forceAddUniform "U_I_CombatUniform"; //U_I_CombatUniform_shortsleeve player setObjectTextureGlobal ["textures\swat_uniform.jpg"]; waitUntil {((_texture) == (_swatUni))}; sleep 3; else ((_texture) != (_swatUni) && uniform player != "U_I_CombatUniform") then { systemChat "first log of player not automatically receiving uniform (SWAT)"; waitUntil {uniform player == "U_I_CombatUniform" && ((_texture) == (_swatUni))}; sleep 2; }; if (uniform player != (_swatUni) && !(_dfltCop) && == "U_Rangemaster" ) then { systemChat "player has not received uniform after 15 seconds"; [] call SOCK_fnc_notifyAdmins; [] call SOCK_fnc_updateRequest; hint "Please contact an Admin asap, and report to dev that u did not receive your uniform!"; else ((((_texture) == (_swatUni)) && player !(_dfltCop) && ((_texture) !=(_dfltCopUni)) && uniform player != "U_Rangemaster" && uniform player == "U_I_CombatUniform"))) then { exitWith {}; }; }; }; }; }; }; }; }; };
  5. Hey, Thank you for your remark. As we have recently relaunched we are currently in the process of regaining our player base with big plans for the near future. Our peaktimes are on the weekends, reaching player numbers of 30-40. Our goal is to have it how it was back in the day, with 2-3 full servers active. Thanks, James
  6. Hello Everyone, My name is James and I am one of the Staff members over on Arma Life Roleplay. We are a community of more than 17,000 registered members, with a high member activity rate. The community was founded in late 2016. We are a Roleplay based Arma 3 Life community with our own custom made modpack, unique framework and features you have probably never seen before. The Communities Staff and Management team is very experienced in running communities and many of us have been with the Community from the very beginning. We very recently have relaunched back on our Original Lakeside map with many new features and additions thanks to our talented development team. There are many Perks and Opportunities that await you upon joining. Not only is the starting money set high and server events being regularly held but the most exciting part is that you can choose from over 170 gangs to take over for free. This includes custom textures and gang shops. The server is made so you don't have to grind, and is very fun oriented,therefore an enjoyable and fun experience is ensured. We have an active player base as well as an active & mature staff team. Our development team is comprised of very talented individuals that bring in new content on a consistent basis. If you have any questions feel free to join the Teamspeak Server and/or our Discord server which you can find the invite link to on our Community website @armaliferp.co.uk. Server Features: Unique Framework Regular Server events Dynamic Economy Skill point (perk) system Custom map High starting money (100k) Less Grind, easier farming (applies for illegal & legal jobs) Casino Random weapon crate system Gambling system (blackjack, slots and more) Fully custom Interfaces & Menus Easy money making system Evidence collecting/destroying system Evidence Locker Raid Gang Bases Capturable gang hideouts Interior Prison Breaks Capturable Cartel convoys with big rewards Gang Zones Gang Warfare Gold Reserve Robberies Capturable Gold convoys with big rewards Bank Robberies D.O.C/Jail Raids Blackmarket Custom Gang uniforms & vehicle textures Custom Gang shops Capturable Bandit convoys with big rewards Job system with many jobs Custom vehicle tuning shop Custom buildings Insurance system Police Database Advanced drug farming system Various factions (LSPD,LVMS, DOJ) Gas Station & Store robberies Enhanced movement And many more. Community Information: Website: armaliferp.co.uk Teamspeak IP: ts.armaliferp.co.uk Server IP: 74.91.119.103 | Port: 2302 | Alternatively, search for ALRP via Filter. Download information can be found on the Website and Teamspeak. Please do not hesitate to consult Staff with any questions or concerns you might have. We hope to see you on the Server! Many Thanks, ALRP Staff Team
  7. Look at communities like PsiSyn.com or armaliferp.co.uk (now starting up again) they have gang bases that they sell for real life money and have on -request skins to be made for real life money?!
  8. Same hud as armadevs.co.uk made for demonicrp seems like you used their services.
  9. It is the windows key on your keyboard. You Can utilise it to commit actions as yours you wish to do such as mining. You can accomplish they by simply pressing the windows key.
  10. Yeah. That's the increases hexagon range so you can see em for further distances then the rangefinder reads the unit, I'll do some digging , thanks for the idea.
  11. Very interesting idea though, will definitely give it a thought, thanks for your input.
  12. Uh, ok, ye that would require some voice/speech recognition, probably beyond my capabilties atm, maybe some really good scripter will do it, but im not sure tbh.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.