generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
27
_module/nss/wrap_mod_onexit.nss
Normal file
27
_module/nss/wrap_mod_onexit.nss
Normal file
@@ -0,0 +1,27 @@
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Wrapper
|
||||
// wrap_mod_onexit
|
||||
// by Don Anderson
|
||||
//
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
// Check to see if player is dead and trying to avoid death penalties
|
||||
// if (GetCurrentHitPoints(oPlayer) <= 0)
|
||||
// SetLocalInt (GetModule(), "death"+GetName(oPlayer), 1);
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// This script has been auto-generated by HakInstaller to call
|
||||
// multiple handlers for the onclientleave event.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
#include "nw_o0_itemmaker"
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("pwdb_clientleave", OBJECT_SELF);
|
||||
ExecuteScript("prc_onleave", OBJECT_SELF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user