Set frame by plugin
#8
Oh, I'm afraid we don't have an API to create those. It should be fairly easy to do. Just put this in a cWorld method. Something like this:
Uint32 cWorld:SpawnPainting(double a_PosX, double a_PosY, double a_PosZ, eBlockFace a_BlockFace, AString a_PaintingName)
{
	cPainting * Painting = new cPainting(a_PaintingName, a_BlockFace, a_PosX, a_PosY, a_PosZ);
	Painting->Initialize(*this);
	return Painting->GetUniqueID();
}
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)