fixed G_et.XP_Set entry

This commit is contained in:
Remy Marquis 2016-09-21 10:49:05 +02:00
parent c1750e9469
commit 8cd17f501b
1 changed files with 4 additions and 4 deletions

View File

@ -476,15 +476,15 @@ Removes points to the client's skill.
* **points** is the amount of points to remove. * **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. Sets XP of the client.
* **clientNum** is the slot number 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. * **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 ) et.G_ResetXP ( clientNum )