Jump to content

KaidenSmith

Member
  • Content Count

    14
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About KaidenSmith

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. KaidenSmith

    exitWith if subtract

    Ty, worked perfectly!
  2. KaidenSmith

    exitWith if subtract

    Tried it and it doesn't work.
  3. KaidenSmith

    exitWith if subtract

    private["_type","_index","_price","_var","_amount","_name"]; if((lbCurSel 2402) == -1) exitWith {}; _type = lbData[2402,(lbCurSel 2402)]; _index = [_type,sell_array] call TON_fnc_index; if(_index == -1) exitWith {}; _var = [_type,0] call life_fnc_varHandle; _amount = ctrlText 2405; if(!([_amount] call TON_fnc_isnumber)) exitWith {hint localize "STR_Shop_Virt_NoNum";}; _amount = parseNumber (_amount); _amount = parseNumber true; if(_amount > (missionNameSpace getVariable _var)) exitWith {hint localize "STR_Shop_Virt_NotEnough"}; if ((time - life_action_delay) < 0.2) exitWith {hint localize "STR_NOTF_ActionDelay";}; life_action_delay = time; _price = (_price * _amount); _name = [_var] call life_fnc_vartostr; if(([false,_type,_amount] call life_fnc_handleInv)) then { hint format[localize "STR_Shop_Virt_SellItem",_amount,_name,[_price] call life_fnc_numberText]; [format["%1 (%2) sold %3 %4 for $%5.", profileName, getPlayerUID player, _amount, _name, [_price] call life_fnc_numberText], "MoneyLog"] remoteExecCall["A3Log", 2]; SaCpTBF = SaCpTBF + _price; DYNAMICMARKET_boughtItems pushBack [_type,_amount]; [] call life_fnc_virt_update; [] spawn SOCK_fnc_updateRequest; }; [0] call SOCK_fnc_updatePartial; [3] call SOCK_fnc_updatePartial; My temp fix is to use _amount = parseNumber true; Makes it so you only sell 1 item per click no matter what.
  4. KaidenSmith

    exitWith if subtract

    It is a menu where you can sell certain items you find or buy. This would be the part of the dialog that is used in this case: class sellEdit : RscEdit { idc = 2405; text = "1"; sizeEx = 0.030; x = 0.554166 * safezoneW + safezoneX; y = 0.60537 * safezoneH + safezoneY; w = 0.069375 * safezoneW; h = 0.0235185 * safezoneH; }; class ButtonRemoveG : RscButtonSilent { idc = -1; text = "$STR_VS_SellItem"; 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}; onButtonClick = "[] call item_sell"; x = 0.531979 * safezoneW + safezoneX; y = 0.641148 * safezoneH + safezoneY; w = 0.0803125 * safezoneW; h = 0.0272222 * safezoneH; }; I am trying to make it so the dialog closes or something like that if you put a negative number in the RscEdit box. Cause as of right now when you put a "-" in, the item will duplicate.
  5. How would I go on about making it so if you try to subtract in an edit field the dialog would close. Or the dialog would close when you pressed the button that would execute the number changing. I have attempted saying if (_valuable < 0) exitWith {};
  6. KaidenSmith

    Textures changing color

    All the current vehicles I have made textures for, but the Tahoe are all turning yellow for some odd reason. It is all cars but the Tahoe. Looks like they all turn a lot brighter than the original texture.
  7. Alright, so I know I am not the only person who has occurred this issue, but I have not been able to resolve it with any of the solutions I have been given. The issue is that when I load in my vehicle with a certain texture, the texture changes color. Info: Size - 2048x2048 Extension types I have tried: png, jpg, DDS (1&5) Texture color in photoshop and what it looks like as a paa: https://gyazo.com/4c910875d246c56a742595e8c88fa3b8 Texture color in game: https://gyazo.com/525d7f7350fe783a5d83926f6ca98d8b
  8. KaidenSmith

    Bisign is deprecated!

    Isn't there only verify signature "1" and "2"?
  9. KaidenSmith

    Bisign is deprecated!

    Does V1 stop all the cheaters from modifying files and all that?
  10. KaidenSmith

    Bisign is deprecated!

    Using the DSUtil I force the V2, that is correct. I do not understand the meaning of "deprecated bisign" which makes it that much harder for me to do something about it.
  11. Sooo, I am getting the error: bisign is deprecated! When bisigning. The error happens for all of my 308 files. This only happens when I force V2.
  12. Hello, I am having some trouble opening the map. I know this thread is kinda old but if anyone can help please do. I clearly have the addon that it says I don't have - I then fixed that by regenerating the layers but the this happened - Resolved: Updated some addons and regenerated the layers again. New problem: All grass is completely white.
  13. 18-05-2017 18:58:19 - Blocked loading of file 'F:\Program Files (x86)\Steam\steamapps\common\Arma 3\@task_force_radio\task_force_radio_pipe_x64.dll' https://gyazo.com/cbb55ea75620e49d238ac43005d9c0c9
  14. 18-05-2017 18:58:19 - Blocked loading of file 'F:\Program Files (x86)\Steam\steamapps\common\Arma 3\@task_force_radio\task_force_radio_pipe_x64.dll' https://gyazo.com/cbb55ea75620e49d238ac43005d9c0c9
×