Jump to content

Search the Community

Showing results for tags 'police badge'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


CPU


Memory


Hard Drive


Graphic Card


PSU


Case


Monitor


Description - Other Accessories

Found 1 result

  1. Difficulty: Easy Source: Link All files are able to download in this post. Move - Create a new file in core\cop and name it: "fn_copShowLicense.sqf" /* Show cop license to target player */ private["_target","_message"]; _target = cursorTarget; if(playerSide != west) exitWith { hint "You are not police !"; }; if( isNull _target) then {_target = player;}; if( !(_target isKindOf "Man") ) then {_target = player;}; if( !(alive _target) ) exitWith { hint "He is sleeping"; }; _message = format["<img size='10' color='#FFFFFF' image='icons\cop.paa'/><br/><br/><t size='2.5'>%1</t><br/><t size='1'>Police of Altis</t>", name player]; [player, _message] remoteExecCall ["life_fnc_copLicenseShown",_target]; Move - Create a new file in core\cop and name it: "fn_copLicenseShown.sqf" /* File : fn_copShowLicense.sqf Create : Black Lagoon Edit : Deathblade */ private["_msg"]; _msg = _this select 1; hintSilent parseText _msg; In core open fn_setupActions.sqf and add this into case west: life_actions = life_actions + [player addAction["<t color='#1F80C9'>Show your badge</t>",life_fnc_copShowLicense,"",1,false,true,"",' playerSide == west && !isNull cursorTarget && cursorTarget isKindOf "Man" ']]; In root open functions.hpp and add this into class cop: class copLicenseShown {}; class copShowLicense {}; Search CfgRemoteExec.hpp and add this to Client only functions: F(life_fnc_copLicenseShown,CLIENT) F(life_fnc_copShowLicense,CLIENT) Finally add cop.paa to your icons folder. cop.paa fn_copLicenseShown.sqf fn_copShowLicense.sqf
×
×
  • Create New...

Important Information

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