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
Criminal When Looting
Author Message
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: Criminal When Looting
You can try this:
1-Do as Ben said by setting
// Looting or carving a blue player is a crime
LootingIsaCrime=0
2- Then add this to t_corpse typedef and add your condition checks
Code:
[TYPEDEF t_corpse]

ON=@PickUp_self
    if (<uid.<link>.tag0.yourfactiontag> != <src.tag0.yourfactiontag)
      src.criminal 1  
    endif
(This post was last modified: 03-26-2014 06:57 AM by darksun84.)
03-26-2014 06:55 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Criminal When Looting - pinku - 03-22-2014, 10:06 AM
RE: Criminal When Looting - Ben - 03-22-2014, 10:29 PM
RE: Criminal When Looting - pinku - 03-23-2014, 05:05 AM
RE: Criminal When Looting - pinku - 03-26-2014, 06:15 AM
RE: Criminal When Looting - darksun84 - 03-26-2014 06:55 AM

Forum Jump:


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