07-26-2016, 03:31 PM
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!
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!