Quest help

09/02/2013 18:30 DexterSK#1
Hi epvp

I need help with this code

PHP Code:
                local subtype = item.get_sub_type()
                
local type = item.get_type()
                
                if 
type==1 and subtype==0 or type==1 and subtype==2 or type==1 and subtype==3 or type==1 and subtype==4 or type==1 and subtype==5 then
                    local kategoria 
= 1
                
elseif type==2 and subtype==0 then
                    local kategoria 
= 2
                
elseif type==2 and subtype==1 then
                    local kategoria 
= 7
                
elseif type==2 and subtype==2 then
                    local kategoria 
= 8
                
elseif type==2 and subtype==3 then
                    local kategoria 
= 3
                
elseif type==2 and subtype==4 then
                    local kategoria 
= 4
                
elseif type==2 and subtype==5 then
                    local kategoria 
= 5
                
elseif type==2 and subtype==6 then
                    local kategoria 
= 6
                
else
                    
local kategoria = 9
                end 
why don' work? o.O
09/15/2013 00:30 SKINMARKETPLACE#2
At first what is "local kategoria" ? And can u please post the fail @ compiling?