How to spawn a chest?
#2
Guess I should have search for 1 more minutes... Smile

I found this plugin that shows an example:

https://github.com/chrobione/GraveChest/...plugin.lua
   Victim:GetWorld():SetBlock(Victim:GetPosition().x,(Victim:GetPosition().y +2) , Victim:GetPosition().z, E_BLOCK_CHEST, E_META_CHEST_FACING_ZM)

And then "DoWithChestAt"...

Cool!
Reply
Thanks given by:


Messages In This Thread
How to spawn a chest? - by newobj - 07-26-2016, 03:31 PM
RE: How to spawn a chest? - by newobj - 07-26-2016, 03:42 PM
RE: How to spawn a chest? - by NiLSPACE - 07-26-2016, 03:43 PM
RE: How to spawn a chest? - by Seadragon91 - 07-26-2016, 05:02 PM
RE: How to spawn a chest? - by NiLSPACE - 07-26-2016, 05:17 PM
RE: How to spawn a chest? - by Seadragon91 - 07-26-2016, 05:22 PM



Users browsing this thread: 1 Guest(s)