Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <macro.h>
- /*
- File: fn_clothing_cop.sqf
- Author: Bryan "Tonic" Boardwine
- Description:
- Master config file for Cop clothing store.
- */
- private["_filter","_ret"];
- _filter = [_this,0,0,[0]] call BIS_fnc_param;
- //Classname, Custom Display name (use nil for Cfg->DisplayName, price
- //Shop Title Name
- ctrlSetText[3103,"Altis Police Department Shop"];
- _ret = [];
- switch (_filter) do
- {
- //Uniforms
- case 0:
- {
- _ret pushBack ["U_Rangemaster","Cop Uniform",25];
- if(__GETC__(life_coplevel) > 1) then
- {
- _ret pushBack ["textures\Police\police_uniform.jpg",nil,0];
- _ret pushBack ["U_B_survival_uniform",nil,0];
- };
- if(__GETC__(life_coplevel) > 6) then
- {
- _ret pushBack ["textures\Police\constableuniform.jpg",nil,550];
- };
- };
- //Hats
- case 1:
- {
- if(__GETC__(life_coplevel) > 1) then
- {
- _ret pushBack ["H_HelmetB_plain_mcamo",nil,75];
- _ret pushBack ["H_Booniehat_mcamo",nil,120];
- };
- if(__GETC__(life_coplevel) > 6) then
- {
- _ret pushBack ["H_Beret_blk_POLICE",nil,0];
- };
- };
- //Glasses
- case 2:
- {
- _ret =
- [
- ["G_Shades_Black",nil,25],
- ["G_Shades_Blue",nil,20],
- ["G_Sport_Blackred",nil,20],
- ["G_Sport_Checkered",nil,20],
- ["G_Sport_Blackyellow",nil,20],
- ["G_Sport_BlackWhite",nil,20],
- ["G_Aviator",nil,75],
- ["G_Squares",nil,10],
- ["G_Lowprofile",nil,30],
- ["G_Combat",nil,55]
- ];
- };
- //Vest
- case 3:
- {
- _ret pushBack ["V_Rangemaster_belt",nil,800];
- if(__GETC__(life_coplevel) > 1) then
- {
- _ret pushBack ["V_PlateCarrier2_rgr",nil,1500];
- };
- };
- //Backpacks
- case 4:
- {
- _ret =
- [
- ["B_Kitbag_cbr",nil,800],
- ["B_FieldPack_cbr",nil,500],
- ["B_AssaultPack_cbr",nil,700],
- ["B_Bergen_sgg",nil,2500],
- ["B_Carryall_cbr",nil,3500]
- ];
- };
- };
- _ret;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement