mirror of
https://github.com/etlegacy/lua_apidoc.git
synced 2024-11-21 11:21:15 +00:00
Added notes about weapon callbacks override
This commit is contained in:
parent
54aeec7ac1
commit
0bcd4a9b63
1 changed files with 8 additions and 0 deletions
|
@ -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()
|
||||
----------------------------
|
||||
|
|
Loading…
Reference in a new issue