• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

How to edit accounts

  • Thread starter Thread starter Runes
  • Start date Start date
R

Runes

Guest
I started my server just to test my maps and stuff. But my account is free. It's not premium and I don't have command !buypremium or /buypremium. So how can I edit server to add accounts and premium ?
 
You dont have command to buy premium in game?

Talkaction xml:
<talkaction words="!buypremium" script="premium.lua" />

Talkaction/script Make a lua doc called premium and paste this
function onSay(cid, words, param)
if getPlayerPremiumDays(cid) <= 360 then
if doPlayerRemoveMoney(cid, 100) == TRUE then
doPlayerAddPremiumDays(cid, 100)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You have bought 100 days of premium account.")
else
doPlayerSendCancel(cid, "You don't have enough money, 100 days premium account costs 100 gold coins.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
else
doPlayerSendCancel(cid, "You can not buy more than one year of Premium Account.")
doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF)
end
return TRUE
end

This is 100 days premium for 100gp you can change "if doPlayerRemoveMoney(cid, 100) == TRUE then "the cid,100" to what value you want.
 
You should try with changing freepremium to yes, and try to use spells, if you still cannot then something is bugged.
 
I don't have that in my Config! Im using 8.6 server :
unledb.png
 

Similar threads

Back
Top