mirror of
https://github.com/etlegacy/etlegacy-lua-docs.git
synced 2024-11-22 12:11:40 +00:00
added a few notes
This commit is contained in:
parent
365b78ffe5
commit
f6733d3e9d
2 changed files with 6 additions and 0 deletions
|
@ -506,6 +506,8 @@ Adds a weapon to a client.
|
|||
* **ammoclip** is the number of ammo clip to add.
|
||||
* **setcurrent** sets the weapon as current weapon if 1, or does not select it if 0.
|
||||
|
||||
.. note:: Adding a weapon does not automatically add its associated alternate weapon.
|
||||
|
||||
|
||||
et.RemoveWeaponFromPlayer( clientNum, weapon )
|
||||
----------------------------------------------
|
||||
|
@ -515,6 +517,8 @@ Removes a weapon from a client.
|
|||
* **clientNum** is the slot number of the client.
|
||||
* **weapon** is the weapon to add. See `et.WP_* constants <constants.html#wp-constants>`__ for possible values.
|
||||
|
||||
.. note:: Removing a weapon also removes its associated alternate weapon.
|
||||
|
||||
|
||||
Entities
|
||||
========
|
||||
|
|
2
misc.rst
2
misc.rst
|
@ -230,6 +230,8 @@ Replace any texture::
|
|||
* **NewShader** is the new shader.
|
||||
* **#** is the Timeoffset, which currently should be left as 0.
|
||||
|
||||
.. note:: Use `et.G_ShaderRemap() <functions.html#et-g-shaderremap-oldshader-newshader>`__ instead.
|
||||
|
||||
|
||||
Damage bitflags
|
||||
===============
|
||||
|
|
Loading…
Reference in a new issue