• Problem with TTTOrderedEquipmen
    0 replies, posted
Hello. Excuse me for any grammatical errors. I'm having some trouble with TTTOrderedEquipment hook. In gamemodes\terrortown\entities\entities, I created a "passive effect" perk, for the traitors. In the server-side, where is my script I used this hook for see when a player buy my perk, the code is this: [CODE] hook.Add("TTTOrderedEquipment", "TTTPerk", function(ply, equipment, is_item) if ply:HasEquipmentItem(EQUIP_MYEQUIP) then EquipActivated = true end end) [/CODE] The script are perfectly working, but if I buy my perk and after I want to buy another weapon, anything happens, it's like the hook returns to end. Some help?
Sorry, you need to Log In to post a reply to this thread.