[Suche]Quest für kill

07/24/2011 22:46 Clemente89#1
Hallo kann mir einer eine quest schreiben sie soll folgendes erfüllen

ein spieler tötet einen spieler und bekommt dafür ein item
das ganze soll nur auf einer map gehen
PHP Code:
        when kill with npc.is_pc() with pc.get_map_index() == 464 begin
            notice_all
("spieler x tötete spieler y")
            
local cdrop number (112)
            
            if 
>= cdrop then 
                pc
.give_item(900131)
            elseif 
>= cdrop then
                pc
.give_item(900141)
            elseif 
>= cdrop then
                pc
.give_item(900151)
            elseif 
>= cdrop then
                pc
.give_item(900161)
            elseif 
>= cdrop then
                pc
.give_item(900171)
            
end
        end 
bei notice all soll nun ausgegeben werden der spieler hat den anderen getötet wie muss das aussehen?