Added new callback, fixed args description

This commit is contained in:
Remy Marquis 2019-04-14 12:32:18 +02:00
parent 763b9b06c8
commit 7dedc789b4
2 changed files with 15 additions and 6 deletions

View file

@ -186,6 +186,15 @@ Called whenever a player gets damage.
* **meansOfDeath** is the means of death. See `et.MOD_* constants <constants.html#mod-constants>`__ for possible values. * **meansOfDeath** is the means of death. See `et.MOD_* constants <constants.html#mod-constants>`__ for possible values.
et_WeaponFire( clientNum, weapon )
----------------------------------
Called whenever a weapon is shot.
* **clientNum** is the client slot.
* **weapon** is the weapon shot.
et_SpawnEntitiesFromString() et_SpawnEntitiesFromString()
---------------------------- ----------------------------

View file

@ -652,10 +652,10 @@ et.trap_Trace( start, mins, maxs, end, entNum, mask )
Traces an entity. Traces an entity.
* **start** is the starting position. * **start** is the starting position.
* **mins** is the minimum length. * **mins** is the minimum point of the bounding box.
* **maxs** is the maximum length. * **maxs** is the maximum point of the bounding box.
* **ends** is the ending position. * **ends** is the ending position.
* **entNum** is the entity number that is traced. * **entNum** is the entity number that is being ignored by the trace function.
* **mask** is the content mask. * **mask** is the content mask.
@ -666,10 +666,10 @@ Runs a trace with players in historical positions.
* **ent** is the entity which trace history is handled. * **ent** is the entity which trace history is handled.
* **start** is the starting position. * **start** is the starting position.
* **mins** is the minimum length. * **mins** is the minimum point of the bounding box.
* **maxs** is the maximum length. * **maxs** is the maximum point of the bounding box.
* **ends** is the ending position. * **ends** is the ending position.
* **entNum** is the entity number that is traced. * **entNum** is the entity number that is being ignored by the trace function.
* **mask** is the content mask. * **mask** is the content mask.