32 lines
863 B
Plaintext
32 lines
863 B
Plaintext
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// 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
|
|
|
|
|
|
}
|