• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

I need help

Mauzim

Member
Joined
Jan 3, 2011
Messages
568
Reaction score
9
Code:
function ticket(cid, message, keywords, parameters, node)
    if(not npcHandler:isFocused(cid)) then
        return false 
    end
        storage = 15834                        
if exhaustion.get(cid, storage) then                        
                        
elseif not doPlayerRemoveMoney(cid, 250) then
                            
selfSay('You do not have enough money.', cid)
                        
else
                            
exhaustion.set(cid, storage, 60 * 60 * 24 * 7)                            
selfSay('Thank you i give u ticket for 7days..', cid)                   
end
end
I need edit this scripts to: if u have this time storage npc say You have ticket. and if lost then npc sell u ticket
 
Back
Top