Changed folder name.
Changed folder name.
This commit is contained in:
19
_module/nss/ac_rodofthenamel.nss
Normal file
19
_module/nss/ac_rodofthenamel.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "x2_inc_switches"
|
||||
void main()
|
||||
{
|
||||
// Check if we have the correct event firing the script
|
||||
if (GetUserDefinedItemEventNumber() != X2_ITEM_EVENT_ACTIVATE) return;
|
||||
|
||||
object oItem=GetItemActivated();
|
||||
object oActivator=GetItemActivator();
|
||||
object oPlayer = GetItemActivator();
|
||||
object target = GetItemActivatedTarget();
|
||||
string tag = GetTag(oItem);;
|
||||
|
||||
string sReport;
|
||||
sReport = ">>> ID: " + GetPCPlayerName( target )
|
||||
+ "; Name: "+ GetName( target )
|
||||
+ "; CD Key:" + GetPCPublicCDKey( target )
|
||||
+ "; IP:" + GetPCIPAddress( target );
|
||||
SendMessageToPC(oActivator, sReport);
|
||||
}
|
Reference in New Issue
Block a user