The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can someone help fix this script
Author Message
victorstelzer
Journeyman
*

Posts: 80
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jun 2012
Reputation: 0



Post: #1
Can someone help fix this script
The problem enters when they procure. Online option always remains Record with 6 users.

Even more users have already entered
----------------------------------------------------------------------[PLEVEL 1]
online

[FUNCTION online]
IF !(<ISEVENT.e_tutorial>)
sysmessageloc 036,3,1060659,Total,<serv.clients>
sysmessageloc 036,3,1060660,PKs,<totalpks>
sysmessageloc 036,3,1060661,APKs,<totalapks>
IF (<var0.event.current>)
sysmessageloc 036,3,1060662,On event,<eval <var0.event.current>>
ENDIF
sysmessageloc 036,3,1060658,Record,<eval <var0.clirecord>>
sdialog d_online
ELSE
SYSMESSAGE @036,3,1 Voce nao pode usar este comando, enquanto no tutorial.
ENDIF

[DIALOG d_online]
220,100
src.closealldialogs
PAGE 0
resizepic 0 0 2620 445 315
resizepic 12 13 5120 420 290
checkertrans 12 13 420 290
dhtmlgump 150 15 120 20 0 0 <DEF.BFONT_WHITE><DEF.BFONT_SIZE7>Jogadores Online
dhtmlgump 150 35 120 20 0 0 <DEF.BFONT_WHITE><SERV.CLIENTS> jogadores online no momento.
LOCAL.AUMENTAR=0
LOCAL.PAGE=1
PAGE 1
FOR 0 <HVAL <SERV.CLIENTS>-1>
IF (<LOCAL.AUMENTAR> > 9)
LOCAL.AUMENTAR=0
button 400 285 015e1 015e5 0 <EVAL <LOCAL.PAGE>+1> 1
LOCAL.PAGE += 1
PAGE <EVAL <LOCAL.PAGE>>
button 360 285 015e3 015e7 0 <EVAL <LOCAL.PAGE>-1> 1
ENDIF
IF (<SERV.CLIENT.<LOCAL._FOR>.UID>)
LOCAL.AUMENTAR += 1
IF (<SERV.CLIENT.<LOCAL._FOR>.ISGM>)
LOCAL.COLOR=55
ELIF (<SERV.CLIENT.<LOCAL._FOR>.ISPK>)
LOCAL.COLOR=36
ELIF (<SERV.CLIENT.<LOCAL._FOR>.ISCRIMINAL>)
LOCAL.COLOR=946
ELSE
LOCAL.COLOR=88
ENDIF
dtext 15 <EVAL (<LOCAL.AUMENTAR>*20)+60> <EVAL <LOCAL.COLOR>> <SERV.CLIENT.<LOCAL._FOR>.NAME>
dtext 170 <EVAL (<LOCAL.AUMENTAR>*20)+60> 1152 Guilda: <SERV.CLIENT.<LOCAL._FOR>.GUILDNAME> - Local: <SERV.CLIENT.<LOCAL._FOR>.REGION.NAME>
ENDIF
ENDFOR

[EOF]
09-04-2012 11:20 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Can someone help fix this script - victorstelzer - 09-04-2012 11:20 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)