Files
HeroesStone_PRC8/_module/nss/hc_inc_helper.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

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"));
}