leandroluck
New Member
- Joined
- Dec 24, 2010
- Messages
- 104
- Reaction score
- 1
edit by me
the script I edited does not show the messages
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "vip teste")
or
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "free teste.")
original
Code:
local itemName = tonumber(split[2]) and itemType:getName() or item
local size = 0
for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do
local storage = player:getStorageValue(i)
if size == AUTO_LOOT_MAX_ITEMS and not player:isVip() then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "free teste.")
else
if size == AUTO_LOOT_MAX_ITEMSvip and player:isVip() then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "vip teste")
end
end
the script I edited does not show the messages
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "vip teste")
or
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "free teste.")
original
Code:
local itemName = tonumber(split[2]) and itemType:getName() or item
local size = 0
for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do
local storage = player:getStorageValue(i)
if size == AUTO_LOOT_MAX_ITEMS then
player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "The list is full, please remove from the list to make some room.")
break
end