Skip to content

Commit d57611c

Browse files
committed
update doc
1 parent e454c27 commit d57611c

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

addons/amxmodx/scripting/include/map_manager.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ forward mapm_vote_canceled(type);
218218
* Called before vote finish.
219219
*
220220
* @param type Type of vote, used const VOTE_BY_*
221-
* @param total_votes Type of vote, used const VOTE_BY_*
221+
* @param total_votes Count of players votes
222222
*
223223
* @return ALLOW_VOTE to allow finish vote
224224
* ABORT_VOTE to block finish vote, forward mapm_vote_finished() will not be called
@@ -230,9 +230,9 @@ forward mapm_analysis_of_results(type, total_votes);
230230
*
231231
* @note Can be blocked in forward mapm_analysis_of_results()
232232
*
233-
* @param map Type of vote, used const VOTE_BY_*
233+
* @param map Nextmap
234234
* @param type Type of vote, used const VOTE_BY_*
235-
* @param total_votes Type of vote, used const VOTE_BY_*
235+
* @param total_votes Count of players votes
236236
*
237237
* @noreturn
238238
*/

addons/amxmodx/scripting/include/map_manager_adv_lists.inc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@
1313
#endif
1414

1515
/**
16-
* TODO: write this
16+
* Array size of advanced list.
1717
*
1818
* @return Number of active lists
1919
*/
2020
native mapm_advl_get_active_lists();
2121

2222
/**
23-
* TODO: write this
23+
* Get list name.
2424
*
2525
* @param item Number of active list
2626
* @param list_name String for list name
2727
* @param size String size
2828
*
29-
* @return Array pointer
29+
* @noreturn
3030
*/
3131
native mapm_advl_get_list_name(item, list_name[], size);
3232

3333
/**
34-
* TODO: write this
34+
* Get Array pointer by index
3535
*
3636
* @param item Number of active list
3737
*

addons/amxmodx/scripting/include/map_manager_consts.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ enum {
2121
MAP_BLOCKED
2222
};
2323

24-
enum {
24+
enum (<<=1) {
2525
CHECK_NOT_IGNORED = 0,
2626
CHECK_IGNORE_MAP_ALLOWED = 1 << 0,
27-
CHECK_IGNORE_VALID_MAP = 1 << 1
27+
CHECK_IGNORE_VALID_MAP
2828
};
2929

3030
enum {

0 commit comments

Comments
 (0)