Backy
Vivere militare est
Hello i got a little problem with this script
This dont show how much Vip days left.. why ?
For help rep++
Thanks![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Code:
local config = {
protectionLevel = getConfigInfo('protectionLevel'),
}
function onSay(cid, words, param, channel)
news = "Okno wiedzy!"
name = getPlayerName(cid)
level = getPlayerLevel(cid)
[B]vip = getPlayerVipDays(cid)[/B]
access = getPlayerAccess(cid)
version = "8.42"
motto = "Staramy sie aby gra nie byla nudna."
local hours = math.ceil(getWorldUpTime() / 3600) - 1
local minutes = math.ceil((getWorldUpTime() - (3600 * hours)) / 60)
if minutes == 60 then
minutes = 0
hours = hours + 1
end
doPlayerPopupFYI(cid, "Welcome to Thouria \nServer Information:\nProtection level: " .. config.protectionLevel .. "\nTo jest:\n " .. news .." \n \n\n Zalogowany Jako:\n Nick: " .. name .."\n Poziom: " .. level .."\n Z-Fighter: " .. vip .."\n Dostep: " .. access .."\n\n Wersja Klienta: " .. version .." \n Uptime: ".. hours .." hours and " .. minutes .." minutes.")
return TRUE
end
This dont show how much Vip days left.. why ?
For help rep++
Thanks