mirror of
https://github.com/etlegacy/etlegacy-lua-docs.git
synced 2024-11-25 13:31:21 +00:00
fixed G_et.XP_Set entry
This commit is contained in:
parent
c1750e9469
commit
8cd17f501b
1 changed files with 4 additions and 4 deletions
|
@ -476,15 +476,15 @@ Removes points to the client's skill.
|
|||
* **points** is the amount of points to remove.
|
||||
|
||||
|
||||
et.G_XP_Set ( clientNum , xp, skill, points )
|
||||
---------------------------------------------
|
||||
et.G_XP_Set ( clientNum , xp, skill, add )
|
||||
------------------------------------------
|
||||
|
||||
Sets XP of the client.
|
||||
|
||||
* **clientNum** is the slot number of the client.
|
||||
* **xp** is the cumulative number of XP points.
|
||||
* **xp** is the number of XP points.
|
||||
* **skill** identifies the skill that the points are added to. See `Skill types <misc.html#skill-types>`__ for possible values.
|
||||
* **points** is the amount of points to add.
|
||||
* **add** sets the XP points if 0, or adds to the existing XP points if 1.
|
||||
|
||||
|
||||
et.G_ResetXP ( clientNum )
|
||||
|
|
Loading…
Reference in a new issue