Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
function onLogin(player) isso
player:loadVipData()
player:updateVipTime()
how i add this in login lua
im very bad learn tell me what i need doing
function onLogin(player) isso
player:loadVipData()
player:updateVipTime()
how i add this in login lua
how i add this in login lua
no but how
PunBB
ALTER TABLE `accounts`
ADD COLUMN `viplastday` int(10) NOT NULL DEFAULT 0 AFTER `lastday`,
ADD COLUMN `vipdays` int(11) NOT NULL DEFAULT 0 AFTER `lastday`;
ahora en data/creaturescripts/scripts/login.lua
PunBB
player:loadVipData()...
ty
local config = {
promotion = 1, -- promotion level, default = 1 . Ignore if you don't have new vocations.
minLevel = 20, -- Level needed to buy promotion
cost = 20000, -- Promotion cost in gp
premium = "yes" -- is premium needed to buy promotion?
}
local disabledVocations = {0}
function...
function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey)
if isInArray({SKULL_RED, SKULL_BLACK}, player:getSkull()) then
player:setSkull(SKULL_NONE)
player:setSkullTime(0)
player:getPosition():sendMagicEffect(CONST_ME_MAGIC_GREEN)...