• 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!

Please Premium Account System ot+gesior

cmcpro

New Member
Joined
May 27, 2009
Messages
55
Reaction score
0
Location
Brazil/SP
Please, I need a system that is vip for Premium Account without errors, can someone help me... :D

- - - Updated - - -

I was using kekox system but not over time vip
 
I'm utilizing system for premium time, everything is working properly, I'm have two problems:
1 - Account Status: when creating character, start with free user account, and I've packed in config.lua freeaccount false.


2 - this system has a script that is premium scroll and got the script vip system, but is not working, wanted some help in this code:



function onUse (cid,item,frompos,item2,topos)
if getPlayerPremiumDays (cid) >= 15 then
doPlayerSendTextMessage (cid, MESSAGE_INFO_DESCR, "Você precisa ter 15 ou menos dias restantes de Premium Account, para utilizar esse serviço novamente!")
doSendMagicEffect (getCreaturePosition (cid), 2)
end
if doRemoveItem(item.uid, 0) then
doPlayerAddPremiumDays(cid, 30)
doSendMagicEffect(getCreaturePosition(cid), 14)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você acaba de ganhar 30 dias de Premium Account, terá áreas exclusivas e 35% a mais de EXP como benefício!")
end
end


grateful now
 
Last edited:
Try

Lua:
function onUse (cid,item,frompos,item2,topos)
if getPlayerPremiumDays (cid) >= 15 then
doPlayerSendTextMessage (cid, MESSAGE_INFO_DESCR, "Você precisa ter 15 ou menos dias restantes de Premium Account, para utilizar esse serviço novamente!")
doSendMagicEffect (getCreaturePosition (cid), 2)
else
doRemoveItem(item.uid, 0)
doPlayerAddPremiumDays(cid, 30)
doSendMagicEffect(getCreaturePosition(cid), 14)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você acaba de ganhar 30 dias de Premium Account, terá áreas exclusivas e 35% a mais de EXP como benefício!")
end
return TRUE
end
 
Try

Lua:
function onUse (cid,item,frompos,item2,topos)
if getPlayerPremiumDays (cid) >= 15 then
doPlayerSendTextMessage (cid, MESSAGE_INFO_DESCR, "Você precisa ter 15 ou menos dias restantes de Premium Account, para utilizar esse serviço novamente!")
doSendMagicEffect (getCreaturePosition (cid), 2)
else
doRemoveItem(item.uid, 0)
doPlayerAddPremiumDays(cid, 30)
doSendMagicEffect(getCreaturePosition(cid), 14)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você acaba de ganhar 30 dias de Premium Account, terá áreas exclusivas e 35% a mais de EXP como benefício!")
end
return TRUE
end


excellent script, except it has a problem, the item is not removed, the vip is added to account, the item is not removed, help me :D
 
Back
Top