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
Use of TAG.NAME.HUE for players?
Author Message
pinku
Journeyman
*

Posts: 118
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Apr 2013
Reputation: 4



Post: #1
Use of TAG.NAME.HUE for players?
Hey!

I'm having another issue with my scripts.

Right now, I am trying to use TAG.NAME.HUE to differ players from Order Faction to Chaos Faction.

While it runs just fine on NPCs (@CREATE), I couldn't get it to work on players, I'm probably using it just wrong.

What I have tried so far:

Code:
ELSEIF (<BLABLA> == 01) && (<SRC.RESTEST blabla>)
SRC.TAG.BLABLA=
SRC.TAG.BLA=1
SRC.TAG.NAME.HUE=07ab
SRC.SYSMESSAGE test.

Same if I use TAG.NAME.HUE. (never thought it would work, but...)

I also tried with a normal function;

Code:
[FUNCTION test_click]
TAG.NAME.HUE=07ab

And also with EVENTS...

Code:
[EVENTS e_test_click]
ON=@LOGIN
TAG.NAME.HUE=07ab
ON=@CLICK
TAG.NAME.HUE=07ab

Events and Functions:

Code:
ON=@CLICK
test_click

And even in-game:

Code:
.set TAG.NAME.HUE=07ab

Clearly, I don't know WTF I'm doing, can someone help me out with the proper use?

Thanks again!
(This post was last modified: 09-02-2013 07:47 PM by pinku.)
09-02-2013 07:45 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Use of TAG.NAME.HUE for players? - pinku - 09-02-2013 07:45 PM

Forum Jump:


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