generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
12
_module/nss/ats_at_trash_yes.nss
Normal file
12
_module/nss/ats_at_trash_yes.nss
Normal file
@@ -0,0 +1,12 @@
|
||||
void main()
|
||||
{
|
||||
object oTrashCan = OBJECT_SELF;
|
||||
object oPlayer = GetPCSpeaker();
|
||||
|
||||
object oItemInTrash = GetFirstItemInInventory(oTrashCan);
|
||||
while(GetIsObjectValid(oItemInTrash) == TRUE)
|
||||
{
|
||||
DestroyObject(oItemInTrash);
|
||||
oItemInTrash = GetNextItemInInventory(oTrashCan);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user