mirror of
https://github.com/edubart/otclient.git
synced 2025-12-01 15:36:50 +01:00
add chat panel, send text messages, guard forbidden functions with an ifdef
This commit is contained in:
@@ -44,3 +44,6 @@ function Game.onVipStateChange(id, online)
|
||||
|
||||
label.vipOnline = online
|
||||
end
|
||||
|
||||
connect(Game, { onLogin = VipList.create,
|
||||
onLogout = VipList.destroy })
|
||||
|
||||
@@ -9,10 +9,6 @@ Module
|
||||
|
||||
onLoad: |
|
||||
require 'viplist'
|
||||
VipList.create()
|
||||
return true
|
||||
|
||||
onUnload:
|
||||
VipList.destroy()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user