T&C (OBSOLETE)
#7
Why do you need separate plugin code for what can already be done by the server? cWorld has a DoExplosionAt function:
/** Does an explosion with the specified strength at the specified coordinate
a_SourceData exact type depends on the a_Source:
| esOther | void * |
| esPrimedTNT | cTNTEntity * |
| esCreeper | cCreeper * |
| esBed | cVector3i * |
| esEnderCrystal | Vector3i * |
| esGhastFireball | TBD |
| esWitherSkullBlack | TBD |
| esWitherSkullBlue | TBD |
| esWitherBirth | TBD |
| esPlugin | void * |
*/
void DoExplosiontAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData);

Oh, right, I forgot to export it to the API. Now it's there.
Reply
Thanks given by: NiLSPACE


Messages In This Thread
T&C (OBSOLETE) - by NiLSPACE - 03-24-2013, 11:14 PM
RE: T&C - by NiLSPACE - 04-09-2013, 04:40 AM
RE: T&C - by tonibm19 - 04-10-2013, 02:05 AM
RE: T&C - by NiLSPACE - 04-10-2013, 02:16 AM
RE: T&C - by tonibm19 - 08-16-2013, 03:51 AM
RE: T&C - by NiLSPACE - 08-16-2013, 03:58 AM
RE: T&C - by xoft - 08-16-2013, 06:08 AM



Users browsing this thread: 3 Guest(s)