• Error Pointshop
    0 replies, posted
im getting this error [ERROR] addons/pointshop-master/lua/items/powerups/health.lua:1: attempt to index global 'ITEM' (a nil value) 1. unknown - addons/pointshop-master/lua/items/powerups/health.lua:1 Here is My code. ITEM.Name = 'Health Kit' ITEM.Price = 1000 ITEM.Model = 'models/items/healthkit.mdl' ITEM.NoPreview = false function ITEM:OnEquip(ply, modifications) timer.Start( "Healthr" ) end timer.Create( "Healthr", 4, 100, function() ply:SetHealth( ply:Health() + 2 ) end)
Sorry, you need to Log In to post a reply to this thread.