Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
17
_module/nss/htc_onexit.nss
Normal file
17
_module/nss/htc_onexit.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "inc_perchest"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPlayer = GetExitingObject();
|
||||
|
||||
int nToken = NuiFindWindow(oPlayer, PC_NUI_WINDOW_ID);
|
||||
|
||||
//:: Murder the poor window
|
||||
|
||||
NuiDestroy(oPlayer, nToken);
|
||||
|
||||
nToken = NuiFindWindow(oPlayer, PC_NUI_GOLD_WINDOW_ID);
|
||||
if (nToken)
|
||||
NuiDestroy(oPlayer, nToken);
|
||||
|
||||
}
|
Reference in New Issue
Block a user