View Single Post
07/21/14, 04:26 AM   #4
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
If you wnat to use this code, copy&paste it to the very end of any .lua file in your addons folder.


If you prefer making a new addon:
  • In your Addons folder create folder named "SilentFriends".
  • create text file "SilentFriends.txt" and copy&paste this text to the file:
    Code:
    ## APIVersion: 100007
    
    SilentFriends.lua
  • create text file "SilentFriends.lua" and copy&paste this text to the file:
    Lua Code:
    1. EVENT_MANAGER:RegisterForEvent("SilentFriends", EVENT_PLAYER_ACTIVATED, function(event)
    2.     EVENT_MANAGER:UnregisterForEvent("SilentFriends", event)
    3.     EVENT_MANAGER:UnregisterForEvent("ChatSystem_OnEventId" .. EVENT_FRIEND_PLAYER_STATUS_CHANGED, EVENT_FRIEND_PLAYER_STATUS_CHANGED)
    4.     ZO_ChatSystem_GetEventHandlers()[EVENT_FRIEND_PLAYER_STATUS_CHANGED] = nil
    5. end)

EDIT:
Addon is attached, so just download and install it the same way as any other addons.
Attached Files
File Type: zip SilentFriends.zip (622 Bytes, 312 views)

Last edited by Garkin : 07/21/14 at 05:08 AM. Reason: Attached "addon"
  Reply With Quote