Welcome to AC Web.
Results 1 to 3 of 3
  1. #1

    Question is this leveling skript okei ?


    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    I want a Level Npc, gives a player Experience when it dies(when the player kills the NPC).
    I wonder if the Command GiveXp is working on this skript.

    My Example:
    ---------------------------------------------------------------------------------------------
    local NpcID = 71000
    local reward_xp = 500

    function NPC_OnDie(pUnit, pPlayer, event)
    SendChatMessage(12, 0, "oh no")
    pUnit:GiveXp(reward_xp)

    pUnit:RemoveEvents()
    end


    RegisterUnitEvent(NpcID, 4, "NPC_OnDie")

    ----------------------------------------------------------------------------------------------

    its for Ascemu or Arcemu

    a serious answer would be great.

    thank you

  2. #2
    I believe this should work.
    However, take a look at GiveXp just in case if it doesn't work here:
    http://eluna.emudevs.com/Player/GiveXP.html

    Test the victim if it doesn't.

  3. #3

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Thank you so much for the quick answer

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •