Updated OnProjectileHitBlock documentation.

master
STRWarrior 2014-06-02 11:45:32 +02:00
parent 61edb83ce5
commit fa78379f5a
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ return
Params = Params =
{ {
{ Name = "ProjectileEntity", Type = "{{cProjectileEntity}}", Notes = "The projectile that hit an entity." }, { Name = "ProjectileEntity", Type = "{{cProjectileEntity}}", Notes = "The projectile that hit an entity." },
{ Name = "BlockX", Type = "number", Notes = "The X-coord where the projectile hit." },
{ Name = "BlockY", Type = "number", Notes = "The Y-coord where the projectile hit." },
{ Name = "BlockZ", Type = "number", Notes = "The Z-coord where the projectile hit." },
{ Name = "BlockFace", Type = "number", Notes = "The side of the block where the projectile hit." },
{ Name = "BlockHitPos", Type = "Vector3d", Notes = "The exact position where the projectile hit."
}, },
Returns = [[ Returns = [[
If the function returns false or no value, the next plugin's callback is called. If the function If the function returns false or no value, the next plugin's callback is called. If the function