generated from Jaysyn/ModuleTemplate
29 lines
516 B
Plaintext
29 lines
516 B
Plaintext
// 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"));
|
|
}
|
|
|