18 lines
328 B
Plaintext
18 lines
328 B
Plaintext
#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);
|
|
|
|
}
|