Files
Anphillia_PRC8/_module/nss/hc_inc_helper.nss
Jaysyn904 28cdb617b3 Initial commit
Adding all of the current content for Anphillia Unlimited.
2024-01-04 07:49:38 -05:00

39 lines
615 B
Plaintext

// Main functions file for the HCR Helper
// Archaegeo 2002 June 27
#include "hc_inc"
#include "hc_text_helper"
object oMyTarget=GetLocalObject(OBJECT_SELF,"HCRHtarget");
void lock_module()
{
SendMessageToAllDMs(SERVERLOCKED);
SetLocalInt(oMod,"LOCKED",1);
}
void unlock_module()
{
SendMessageToAllDMs(SERVERUNLOCKED);
SetLocalInt(oMod,"LOCKED",0);
}
int hcrh_istargetpc()
{
if(GetIsObjectValid(oMyTarget) && GetIsPC(oMyTarget))
{
return TRUE;
}
return FALSE;
}
int hcrh_istargetnvalid()
{
if(!GetIsObjectValid(oMyTarget))
{
return TRUE;
}
return FALSE;
}