LootStartEvent

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,813
113
At your house.
github.com
Methods:
C#:
Cancel():void
Properties:
C#:
IsObject:bool // Is Chest or not?
Entity:Fougerite.Entity
Player:Fougerite.Player
Useable:Useable
LootableObject:LootableObject
IsCancelled:bool
LootName:string
RustInventory:Inventory
OccupiedText:string
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,095
4,813
113
At your house.
github.com
Well, for example the player can find out his coordinates - Player.X Player.Y Player.Z - could you do for drawer - type LootStartEvent.X LootStartEvent.Y LootStartEvent.Z
LootStartEvent.Entity.X
LootStartEvent.Entity.Y
LootStartEvent.Entity.Z
LootStartEvent.Entity.Location

LootStartEvent.Player.X
LootStartEvent.Player.Y
LootStartEvent.Player.Z
LootStartEvent.Player.Location