Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
NiLSPACE Wrote: (08-30-2016, 02:52 AM)
--
There probably isn't a blockentity there. What block are you clicking on? Blockentities are things like chests, furnaces, signs and that sort of stuff.
--
... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 02:03 PM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 02:00 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:47 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
DrMasik Wrote: (08-30-2016, 01:44 AM)
--
as123456 Wrote: (08-30-2016, 01:43 AM)
--
Not the reason!
--
Show your updated code
--
Code:
--
function OnPlayerRightClick(Player, BlockX, BlockY, Bloc... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:47 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:43 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
DrMasik Wrote: (08-30-2016, 01:38 AM)
--
as123456 Wrote: (08-30-2016, 01:30 AM)
--
Code:
--
PLUGIN = {} -- Reference to own plugin object
CHEST_WIDTH = 9
HANDY_VERSION = 1
function Initialize(Plu... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:41 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
Code:
--
PLUGIN = {} -- Reference to own plugin object
CHEST_WIDTH = 9
HANDY_VERSION = 1
function Initialize(Plugin)
PLUGIN = Plugin
PLUGIN:SetName("Reap")
PLUGIN:SetVersion(HANDY_VERSION)
... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:30 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
DrMasik Wrote: (08-30-2016, 01:23 AM)
--
as123456 Wrote: (08-30-2016, 01:22 AM)
--
xoft Wrote: (08-29-2016, 10:56 PM)
--
Hello, welcome to the forum.
What exactly is the behavior you see and wha... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:27 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: RE: callback DoWithBlockEntityAt why not work
xoft Wrote: (08-29-2016, 10:56 PM)
--
Hello, welcome to the forum.
What exactly is the behavior you see and what is the behavior you were expecting? (In other words, what does "not work" mean?)
--... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-30-2016, 01:22 AM |
|
|
Thread: callback DoWithBlockEntityAt why not work
Post: callback DoWithBlockEntityAt why not work
[shcode=lua]
function OnPlayerRightClick(Player, BlockX, BlockY, BlockZ, BlockFace, CursorX, CursorY, CursorZ)
local world=Player:GetWorld()
world:DoWithBlockEntityAt(BlockX, BlockY, BlockZ,
... |
|
as123456 |
Plugin Discussion
|
19 |
16,835 |
08-29-2016, 10:25 PM |