How to spawn a chest?
#1
Question 
Hi folks!

This seems like it should be an easy question, but I can't seem to find an answer or example anywhere.

How do I spawn a chest?

Even trying to construct one doesn't work:

        local Chest = cChestEntity(Player:GetPosX(), Player:GetPosY(), Player:GetPosZ(), World, E_BLOCK_CHEST)

I get:

        Warning: [3653914e66bad7c|21:58:27] LUA: Plugins/FunMenu/plugin.lua:50: Attempt to call a non-callable object.

Even if I can construct one, how do I actually spawn it into the world?

Thanks!
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)