Initial commit
Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
15
_module/nss/hcrh_toglock.nss
Normal file
15
_module/nss/hcrh_toglock.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
#include "hc_inc_helper"
|
||||
|
||||
void main()
|
||||
{
|
||||
if(GetLocalInt(oMod, "LOCKED"))
|
||||
{
|
||||
SetLocalInt(oMod,"LOCKED",0);
|
||||
SendMessageToPC(OBJECT_SELF,"The server is now Unlocked.");
|
||||
}
|
||||
else
|
||||
{
|
||||
SetLocalInt(oMod,"LOCKED",1);
|
||||
SendMessageToPC(OBJECT_SELF,"The server is now Locked.");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user