Quest Frage

11/24/2012 10:06 Sp0ngeb0b ist cool#16
ach tut mir leid..machs so:

PHP Code:
quest Questitem_erstellung begin 
    state start begin 
        
function list_item() 
            return { 
                [
1] = 9299, 
                [
2] = 9119, 
                [
3] = 9499, 
                [
4] = 9399, 
                [
5] = 9599, 
            } 
        
end 
        when 50025.
use begin 
            say_title
('Item Auswahl für GM´s') 
            
local a = {}
            
table.foreach(Questitem_erstellung.list_item(),function(i,l) table.insert(a,i,item_name(l)) end )
            
table.insert(a, 'Nichts')
            
local ite = select_table(a) 
            if 
ite == table.getn(a) then return end 
            pc
.give_item2(Questitem_erstellung.list_item()[ite], 1)
        
end 
    end 
end 
11/24/2012 14:14 React™#17
sponge a little bit buggy

Bild:

[Only registered and activated users can see links. Click Here To Register...]