- 0
tfs 1.0/1.2 TAG para este Globalevents
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 answers
- 1015 views
-
- 23 replies
- 6507 views
-
- 1 reply
- 3044 views
-
- 0 replies
- 1795 views
-
otserv 10.x Global 10/11.5 + OtherWorld + Hearth of Destruction Quest+ Eventos 1 2 3 4 43
By Qwizer,
- tfs 1.0/1.2
- otserv
- (and 4 more)
- 632 replies
- 193034 views
-

Question
julhinhuu 26
Alguém poderia criar uma tag para este script:
function onThink() if (tonumber(os.date("%d")) ~= getGlobalStorageValue(23456)) then setGlobalStorageValue(23456, (tonumber(os.date("%d")))) db.executeQuery("UPDATE `players` SET `onlinetime7`=`onlinetime6`, `onlinetime6`=`onlinetime5`, `onlinetime5`=`onlinetime4`, `onlinetime4`=`onlinetime3`, `onlinetime3`=`onlinetime2`, `onlinetime2`=`onlinetime1`, `onlinetime1`=`onlinetimetoday`, `onlinetimetoday`=0;") db.executeQuery("UPDATE `players` SET `exphist7`=`exphist6`, `exphist6`=`exphist5`, `exphist5`=`exphist4`, `exphist4`=`exphist3`, `exphist3`=`exphist2`, `exphist2`=`exphist1`, `exphist1`=`experience`-`exphist_lastexp`, `exphist_lastexp`=`experience`;") end db.executeQuery("UPDATE `players` SET `onlinetimetoday`=`onlinetimetoday`+60, `onlinetimeall`=`onlinetimeall`+60 WHERE `online` = 1;") endJá tentei varias vezes e ainda não funcionou.
Link to comment
https://xtibia.com/forum/topic/239387-tag-para-este-globalevents/Share on other sites
10 answers to this question
Recommended Posts