Set frame by plugin
#7
(01-18-2016, 06:30 PM)NiLSPACE Wrote: I believe there is: http://mc-server.xoft.cz/LuaAPI/cItemFrame.html

Or at least if that's the frame that you mean.

World:ForEachEntityInBox(cBoundingBox(X, X, Y, Y, Z, Z),
 function(a_Entity
  if (not a_Entity:IsItemFrame()) then
   return false
  end
  tolua.cast(a_Entity, "cItemFrame"):SetItem(MycItem)
 end
)

Thank you. But, I want to install a lot of frames on the wall. Not items into frames.
Reply
Thanks given by:


Messages In This Thread
Set frame by plugin - by DrMasik - 01-09-2016, 06:45 AM
RE: Set frame by plugin - by DrMasik - 01-16-2016, 04:32 PM
RE: Set frame by plugin - by xoft - 01-18-2016, 06:24 PM
RE: Set frame by plugin - by NiLSPACE - 01-18-2016, 06:30 PM
RE: Set frame by plugin - by DrMasik - 01-21-2016, 09:27 PM
RE: Set frame by plugin - by xoft - 01-19-2016, 05:08 AM
RE: Set frame by plugin - by DrMasik - 01-19-2016, 07:39 AM
RE: Set frame by plugin - by NiLSPACE - 01-21-2016, 09:33 PM



Users browsing this thread: 1 Guest(s)