Jump to content

lordzokarum

Inactive Member
  • Posts

    31
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by lordzokarum

  1. hallo,

    ich komm einfach nicht mehr weiter. Bitte helft mir.
    das Problem ist ich will nur das der player coins bekommt wenn er z.b. irgendein metin kill sagen wir mal 2 coins als belohnung bekommt
    oder halt ween er einen Boss killt z.b. 1093. 

     

    quest coins_for_kill begin 
        state start begin  
            when kill begin 
            
            local metin = { 
                [8024] = {30}, -- 1. Vnum des Metin 2. Anzahl der Coins 
                [8025] = {20} 
            }
                if npc.get_race() == metin[pc.get_mob_vnum] then
                    mysql_query("UPDATE account.account SET coins = coins + "..metin[pc.get_mob_vnum][2].." WHERE id = "..pc.get_account_id()..";") 
                end 
            end 
        end  
    end

     

    aber leider funzt die obere quest nicht keine Fehler bei ./qc aber auch keine coins auf dem Konto.

     

    Danke

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.