• Item won't purchase in pointshop
    11 replies, posted
[lua]TRAITOR = ttt_force_traitor ITEM.Name = 'Traitor' ITEM.Price = 5000 ITEM.Material = 'VGUI/ttt/sprite_traitor.vmt' ITEM.OneUse = true function ITEM:OnEquip(ply, modifications) hook.Add("TTTBeginRound", ply:UniqueID() .. "_traitor", function() if not ply:GetRoleString() != "traitor" then ply:SetRole(ROLE_TRAITOR) ply:AddCredits(GetConVarNumber("ttt_credits_starting")) end if SERVER then ply:PS_TakeItem(self.ID) end hook.Remove("TTTBeginRound", ply:UniqueID() .. "_traitor") end) end function ITEM:OnHolster(ply) hook.Remove("TTTBeginRound", ply:UniqueID() .. "_traitor") end[/lua] It shows up in my "roles" tab in the pointshop, when I go to buy it i click buy, then okay then it doesn't do anything, it won't equip or take away any points, i've been messing with it all day, could someone help me with this one or give me one that 100% works I can pay 5-10$ if you can.
You have to be fucking kidding me. This is the fourth time you've created a thread on the exact same thing.
and yet non of you have helped me..
So try to be resourceful and figure the problem out.
[QUOTE=Ilyaaa;41817794]So try to be resourceful and figure the problem out.[/QUOTE] like i previously stated, I've been trying all day long..
[QUOTE=Noon;41817817]like i previously stated, I've been trying all day long..[/QUOTE] You have been told 3 times how to fix it. You should just be banned from garry's mod for being a complete idiot.
[QUOTE=kila58;41818036]You have been told 3 times how to fix it. You should just be banned from garry's mod for being a complete idiot.[/QUOTE] I have tried all 3 recommendations from all the people who have given me them, and non of them have worked, do you think I'd still be posting threads if they worked? So take your negative ass on somewhere, if you don't like what I post don't comment on it, simple as that, no need to be hateful. So help me and I'll quit posting threads or shut the fuck up and don't look at them.
Don't uppercase the luafile. I expect full pay. (like the ones named nameofitem.lua Don't make it Nameofitem.lua, that won't work.)
[QUOTE=Noon;41818079]I have tried all 3 recommendations from all the people who have given me them, and non of them have worked, do you think I'd still be posting threads if they worked?[/QUOTE] You're supposed to make one thread and bump it after a period of time if nobody has replied, not continuously make more and more threads. [QUOTE=Noon;41818079]So take your negative ass on somewhere, if you don't like what I post don't comment on it, simple as that, no need to be hateful.[/QUOTE] You must be really ignorant to think that people are being negative. You can't just expect people to help you with something right away. I would have helped you but I find the idea of buying traitor is just stupid. [QUOTE=Noon;41818079]So help me and I'll quit posting threads or shut the fuck up and don't look at them.[/QUOTE] Sorry buddy, life doesn't work like that.
[QUOTE=brandonj4;41818221] I would have helped you but I find the idea of buying traitor is just stupid. [/QUOTE] I don't mean to tell you how to live your life, but refusing to help someone just because you don't like an idea just doesn't sound right to me. Let his ideas stand or fall based on what players like. If you enjoy helping people, help them to help them, not because you want to see content or something like that. Idek, I don't usually post my opinions, but I deed. That's gmod specific though; if you don't like the idea of killing people, please do not assist people with that (Unless you're taking out the ellunimati!). Sorry for off-topic.
[QUOTE=vegasx;41818261]I don't mean to tell you how to live your life, but refusing to help someone just because you don't like an idea just doesn't sound right to me. Let his ideas stand or fall based on what players like. If you enjoy helping people, help them to help them, not because you want to see content or something like that. Idek, I don't usually post my opinions, but I deed. And that's kind of gmod lua only. If you don't like the idea of killing people, please do not assist them with that. Sorry for off-topic.[/QUOTE] Here's something to think about. I would have helped him if he hadn't been so impatient and made 4 different threads requesting the exact same thing.
[QUOTE=brandonj4;41818282]Here's something to think about. I would have helped him if he hadn't been so impatient and made 4 different threads requesting the exact same thing.[/QUOTE] That's an understandable position though. It's just hard to infer that from what I quoted earlier.
Sorry, you need to Log In to post a reply to this thread.