generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
28
_module/nss/hc_inc_helper.nss
Normal file
28
_module/nss/hc_inc_helper.nss
Normal file
@@ -0,0 +1,28 @@
|
||||
// Main functions file for the HCR Helper
|
||||
// Archaegeo 2002 June 27
|
||||
|
||||
#include "hc_inc"
|
||||
#include "hc_text_helper"
|
||||
|
||||
void lock_module()
|
||||
{
|
||||
SendMessageToAllDMs(SERVERLOCKED);
|
||||
SetLocalInt(GetModule(),"LOCKED",1);
|
||||
}
|
||||
|
||||
void unlock_module()
|
||||
{
|
||||
SendMessageToAllDMs(SERVERUNLOCKED);
|
||||
SetLocalInt(GetModule(),"LOCKED",0);
|
||||
}
|
||||
|
||||
int hcrh_istargetpc()
|
||||
{
|
||||
return GetIsPC(GetLocalObject(OBJECT_SELF,"HCRHtarget"));
|
||||
}
|
||||
|
||||
int hcrh_istargetnvalid()
|
||||
{
|
||||
return !GetIsObjectValid(GetLocalObject(OBJECT_SELF,"HCRHtarget"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user