questfrage

07/06/2010 18:32 DerTeD#1
Hallo,
meine startquest sieht so aus:

PHP Code:
quest give_basic_weapon begin
    state start begin
        when login begin
            
if pc.getqf("basic_weapon") == 0 then
                pc
.setqf("basic_weapon"1)

                
local item 16

                
if pc.job == 1 then
                    item 
1006
                
elseif pc.job == 3 then
                    item 
7006
                end

                
if pc.countitem(item) == and pc.weapon != item then
                    pc
.give_item2(item)
                    
pc.give_item2(27001,)
                --    
pc.give_item2(220005)
                
                
end
            end
        end
    end
end 
Kann dort einer einbauen, dass man ein Pferd level^1, ein pferdebild un 5 stück heu bekommt? bekommt mehrere thx