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






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flying text - sendpacket
Author Message
bororeh
Apprentice
*

Posts: 13
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: May 2016
Reputation: 0



Post: #7
RE: Flying text - sendpacket
According to this post, this should work:
Code:
[EVENTS E_DAMAGE_DISPLAY]
ON=@Hit
    IF (<I.ISPLAYER>)
        SENDPACKET 0b D<SRC.UID> W<ARGN1>
    ENDIF

ON=@GetHit
    IF (<SRC.ISPLAYER>)
         SENDPACKET 0b D<SRC.UID> W<ARGN1>//***********
    ENDIF

But here is what happens: the player doing the hitting sees the damage as a red number flying over the targets head. However, the player taking the damage doesn't see anything and this error comes up on sphere:
Code:
"ERROR:(nws_pvp_stone.scp,195)Undefined keyword 'SENDPACKET'"

BTW, line #195 is the one marked by //*************. What did I miss?
(This post was last modified: 07-02-2020 02:05 AM by bororeh.)
07-01-2020 01:33 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Flying text - sendpacket - ThatSide - 08-03-2015, 07:37 PM
RE: Flying text - sendpacket - Coruja - 08-09-2015, 09:35 PM
RE: Flying text - sendpacket - ThatSide - 08-09-2015, 11:49 PM
RE: Flying text - sendpacket - Shamino - 08-09-2015, 10:40 PM
RE: Flying text - sendpacket - Coruja - 08-17-2015, 07:09 PM
RE: Flying text - sendpacket - ThatSide - 08-18-2015, 06:52 PM
RE: Flying text - sendpacket - bororeh - 07-01-2020 01:33 PM

Forum Jump:


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