Added notes about weapon callbacks override

This commit is contained in:
Remy Marquis 2019-05-18 18:58:44 +02:00
parent 54aeec7ac1
commit 0bcd4a9b63

View file

@ -194,6 +194,8 @@ Called whenever a weapon is shot.
* **clientNum** is the client slot.
* **weapon** is the weapon shot.
Returns 1 to override (abort) the qagame function, 0 to "passthrough". Callback may do anything it wants during passthrough.
et_FixedMGFire( clientNum )
---------------------------------
@ -202,6 +204,8 @@ Called whenever a fixed machine gun is shot.
* **clientNum** is the client slot.
Returns 1 to override (abort) the qagame function, 0 to "passthrough". Callback may do anything it wants during passthrough.
et_MountedMGFire( clientNum )
-----------------------------------
@ -210,6 +214,8 @@ Called whenever a mounted machine gun is shot.
* **clientNum** is the client slot.
Returns 1 to override (abort) the qagame function, 0 to "passthrough". Callback may do anything it wants during passthrough.
et_AAGunFire( clientNum )
-------------------------------
@ -218,6 +224,8 @@ Called whenever an anti-aircraft gun is shot.
* **clientNum** is the client slot.
Returns 1 to override (abort) the qagame function, 0 to "passthrough". Callback may do anything it wants during passthrough.
et_SpawnEntitiesFromString()
----------------------------