mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
vip improvements
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
VipListLabel < Label
|
||||
font: tibia-10px-monochrome
|
||||
margin.left: 30
|
||||
|
||||
Window
|
||||
id: vipWindow
|
||||
title: VIP
|
||||
|
@@ -11,6 +11,7 @@ function Game.onAddVip(id, name, online)
|
||||
vipList:addChild(label)
|
||||
label:setId('vip' .. id)
|
||||
label:setText(name)
|
||||
label:setStyle('VipListLabel')
|
||||
|
||||
if online then
|
||||
label:setForegroundColor('#00ff00')
|
||||
|
Reference in New Issue
Block a user