generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
31
_module/nss/wrap_mod_onrest.nss
Normal file
31
_module/nss/wrap_mod_onrest.nss
Normal file
@@ -0,0 +1,31 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Wrapper
|
||||
// wrap_mod_onrest
|
||||
// by Don Anderson
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
//Your onrest script here!
|
||||
// x2_mod_def_rest,prc_rest
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// This script has been auto-generated by HakInstaller to call
|
||||
// multiple handlers for the onplayerrest event.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
ExecuteScript("runeresting", OBJECT_SELF);
|
||||
ExecuteScript("prc_rest", OBJECT_SELF);
|
||||
|
||||
//From Master Configuration opw_mod_onload
|
||||
//int nRESTGLOBAL = GetLocalInt(GetModule(),"RESTGLOBAL");
|
||||
//if(nRESTGLOBAL == 1) ExecuteScript("cf_mod_on_rest",OBJECT_SELF); //Camping and Resting System
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user