Jump to content

Search the Community

Showing results for tags 'civilian'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Altis Life RPG
    • Headquarters
    • Introductions
    • RULES
  • Altis Life RPG Community
    • General Discussion
    • Helper Recruitment
    • Altis Life Server Advertising
    • Discord (join us for discuss)
  • Tools and Administration
    • Altis Life RPG (official Framework)
    • Altis Life Wiki
    • Server Setup and Configuration
    • Database
    • Security
    • Maintenance
  • Altis Life Customization
    • Server & Scripting Help Desk
    • Releases & Download
    • Misc & Tools
  • Kool Kids Klub's Oof
  • Kool Kids Klub's Secret Spot

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



About Me



Hard Drive

Graphic Card




Description - Other Accessories

Found 2 results

  1. Allright so this is a tutorial on how to add a option to the cop interaction menu (windows-key on restrained civ) where they get a button to revoke said civilians drivers license! Core script credit: @Repentz Difficulty: Easy Note: When I say root I mean your mission folder (AltisLife.Altis or TanoaLife.Tanoa). ______________________________________________________________________________________________________________________________________________________________________________________________ Step 1: Create a file called fn_revokeDriverLicense.sqf in root -> Core -> Actions and paste this in: /* File: fn_revokeDriverLicense.sqf */ private["_unit"]; params [ ["_unit", ObjNull,[ObjNull]] ]; if(isNull _unit) exitWith {}; [0,format["%1 has revoked %2's Driver License.",name player, name _unit]] remoteExecCall ["life_fnc_broadcast",west]; [4] remoteExecCall ["life_fnc_removeLicenses",_unit]; Step 2: Go to root -> core -> cop and open the file: fn_copInteractionMenu.sqf Find the list of #define Btn1 37450 etc. and paste this in the middle of the last button and the Title: #define Btn9 37458 It should look like this: #define Btn1 37450 #define Btn2 37451 #define Btn3 37452 #define Btn4 37453 #define Btn5 37454 #define Btn6 37455 #define Btn7 37456 #define Btn8 37457 #define Btn9 37458 #define Title 37401 Scroll down a bit and find this: _display = findDisplay 37400; _Btn1 = _display displayCtrl Btn1; _Btn2 = _display displayCtrl Btn2; _Btn3 = _display displayCtrl Btn3; _Btn4 = _display displayCtrl Btn4; _Btn5 = _display displayCtrl Btn5; _Btn6 = _display displayCtrl Btn6; _Btn7 = _display displayCtrl Btn7; _Btn8 = _display displayCtrl Btn8; life_pInact_curTarget = _curTarget; and paste this below the next to last row: _Btn9 = _display displayCtrl Btn9; Scroll down a bit more to this: //SeizeWeapons Button _Btn8 ctrlSetText localize "STR_pInAct_Seize"; _Btn8 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_seizePlayerAction; closeDialog 0;"; Below it you want to paste this: //Revoke License Button _Btn9 ctrlSetText localize "STR_pInAct_RevokeLicense"; _Btn9 buttonSetAction "[life_pInact_curTarget] spawn life_fnc_revokeDriverLicense; closeDialog 0;"; Step 3: Go to root -> Core -> Civilian and open fn_removeLicenses.sqf Under the section called Case 3 paste this in: // Revoking drivers license case 4: { missionNamespace setVariable [LICENSE_VARNAME("driver", "civ"), false]; hint localize "STR_Civ_LicenseRevoked"; }; Step 4: Go to root -> dialog and open pInteraction.hpp Find this: class ButtonEight: Life_RscButtonMenu { idc = 37457; 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}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.42; w = 0.4; h = 0.038; }; And paste this below it: class ButtonNine: Life_RscButtonMenu { idc = 37458; 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}; text = ""; sizeEx = 0.025; x = BGX + 0.03; y = BGY + 0.47; w = 0.4; h = 0.038; }; Step 5: Go to your mission root and open Functions.hpp and paste this in the Actions section: class revokeDriverLicense{}; Step 6: Go to your mission root and open CfgRemoteExec.hpp and paste this at the bottom of Client Only Functions: F(life_fnc_revokeDriverLicense,CLIENT) Step 7 (Last step!): Go to your mission root and open your stringtable and add this: <Key ID="STR_Civ_LicenseRevoked"> <Original>You have lost your drivers license.</Original> </Key> And we're done! Now if you restrain a civilian with as a cop, you'll have another button in the interaction menu that removes the restrained civilian's drivers license!
  2. COME JOIN REVIVAL ROLEPLAY FOR SERIOUS ROLEPLAY, POLICE CHASES, SHOOTOUTS, DRUG RUNS, AND MUCH MORE! Hello I am James ORyan from Revival Roleplay. I am a Senior Admin here and I have come to advertise here because we are a fairly new server and we need more players who want to roleplay and have fun. This server is an american based server previously an english based server. Our mission is to bring the best roleplay possible to our server. We currently are in our late dev stage, adding little scripts, more skins, customizing map, and we need players to put that all to use. The Police Divisions include, FBI, DEA, SWAT, Internal Affairs, as well as Field Training Officer [FTO], and Air Support certifications. Come to Revival Roleplay to experience good roleplay and amazing staff! Kavala Parking Kavala Shopping Center Kavala Shopping Center Police HQ Police Offices Interrogation Room Holding Cell Police Sniper Training Nest Police Sniper Training Targets Police Training Field Management Villa [AREA 187] Revival Roleplay Website Revival Roleplay Twitter TS3: Discord: discord.gg/DkSGMAg Server IP: ALL DONATIONS ARE MUCH APPRECIATED AND ALL DONORS GET VIP AND PERSONAL CHANNEL ON TS
  • Create New...

Important Information

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