1. Post #1

    October 2013
    3 Posts
    I have looked at several, several posts about this, so please dont tell me search it up. Im not the greatest with LUA but I have a ttt server with pointshop working fabulously. However, when making the perma weapons in the pointshop, everything works as it lets me purchase it and equip, however i dont have it. I can holster/equip but it doesnt put it in my hand. This is what I used:

    ITEM.Name = 'Galil'
    ITEM.Price = 10000
    ITEM.Model = 'models/weapons/v_rif_ak47.mdl'
    ITEM.WeaponClass = 'weapon_ttt_galil'
    ITEM.SingleUse = false

    function ITEM:OnBuy(ply)

    function ITEM:OnSell(ply)
    Please help me, thanks.

  2. Post #2
    I make graphic designs and lua errors (◡‿◡✿) ‏
    NiandraLades's Avatar
    January 2013
    5,409 Posts
    Maybe you're just being silly and already have a weapon in that slot?

    Like, if you're already holding another weapon, say the Mp5, it won't equip this new item