Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Add a wall sign and disable "monster"
Post: RE: Add a wall sign and disable "monster"

Hi, I have a very strange error with lua code: Code: -- function addSign(Player)     Player:GetWorld():SetBlock(Player:GetPosX() + 2, y + 1, Player:GetPosZ() + 1, E_BLOCK_WALLSIGN, E_META_C...
LeSanglier Plugin Discussion 7 8,534 07-21-2016, 05:39 AM
    Thread: Add a wall sign and disable "monster"
Post: RE: Add a wall sign and disable "monster"

Hi xoft !! (Sorry for the delay) xoft Wrote: (07-11-2016, 04:44 AM) -- The DockerCraft has their own library that implements the setBlock() function (notice the lowercase s), they have some s...
LeSanglier Plugin Discussion 7 8,534 07-19-2016, 07:23 AM
    Thread: Add a wall sign and disable "monster"
Post: RE: Add a wall sign and disable "monster"

Hi ! This piece of code comes from the DockerCraft project: https://github.com/docker/dockercraft/blob/master/world/Plugins/Docker/container.lua#L144 With your information, I am trying to debug...
LeSanglier Plugin Discussion 7 8,534 07-11-2016, 04:35 AM
    Thread: Add a wall sign and disable "monster"
Post: RE: Add a wall sign and disable "monster"

Thank you PureTryOut !! :D Code: -- Then if you want to disable the mob from spawning, return true. Otherwise, return false and the mob will spawn. -- It is exactly the good tips !
LeSanglier Plugin Discussion 7 8,534 07-08-2016, 08:04 AM
    Thread: Add a wall sign and disable "monster"
Post: Add a wall sign and disable "monster"

Hi, I would to know how to add a wallsign ? The following code doesn't work in my lua script: Code: -- setBlock(UpdateQueue, Player:GetPosX() + 3, Player:GetPosY() + 2, Player:GetPosZ() +...
LeSanglier Plugin Discussion 7 8,534 07-08-2016, 07:29 AM