Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

Помогите плиз создаю аддон


Guest Help
 Share

Recommended Posts

Я решил создать свой первый аддон.Его функция заключается в следующем, что когда я подхожу к почте у меня она автоматически открывалась, но чет не работает(((.Плиз скажите где ошибка и плиз не судите строго всетаки мой первый аддон.

Code:

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

-- EVENT HANDLERS

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

-- "EVENT_MAILBOX_CHANGED"

function OnEventMailboxChanged( params )

if mailBox.IsInteracting() then

avatar.mailBox.Open()

end

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

-- INITIALIZATION

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

function Init()

common.RegisterEventHandler( OnEventMailboxChanged, "EVENT_MAILBOX_CHANGED" )

      

end

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

Init()

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

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use