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!
Hello all!
Im posting this script ive made for my Ots. In my Ots are some ways to get premium points, one of them is deposit or electronic transfer to my bank acount.
When someone deposit or transfer to my bank account i simply log in on my GOD and execute this command to add their points...
I dont know if works, but try it:
function onLogin(cid)
if getPlayerPremiumDays(cid) >= 1 then
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "20% Exp more, You are premium.")
return TRUE
end
end
EDIT: It works!
If u are getting something (this case 10 days) is not problem of ur script, cuz its working. Its a problem of ur config of that script maybe. Maybe its configured to give just 10 days instead 10 days and the item (if u want it). Paste ur code here and we can help u ;)
localhost/phpmyadmin go to ur database then click on query windows (circle on image), then paste that cyko's code:
ALTER TABLE accounts ADD "vipdays" INTEGER(10) UNSIGNED NOT NULL DEFAULT 0;
Then click on Go, save, w/e.
i got this :/
[20/03/2011 20:06:33] [Error - Action Interface]
[20/03/2011 20:06:33] data/actions/scripts/tic.lua:onUse
[20/03/2011 20:06:33] Description:
[20/03/2011 20:06:33] data/actions/scripts/tic.lua:43: attempt to perform arithmetic on a boolean value
[20/03/2011 20:06:33] stack...
I have a little question, anyone knows any account page like modern acc or gesior acc working with this distro: [8.7] The Forgotten Server v0.2.10 (Mystic Spirit)??
Cuz that distro uses account number instead account name
Thanks