AMXX-BG.INFO crxranks_const.inc Raw include

crxranks_const.inc

Original include source with line numbers.

Back Download .inc
1 #if defined _crxranks_const_included
2 #endinput
3 #endif
4
5 #define _crxranks_const_included
6
7 /**
8 * Plugin-specific return codes
9 */
10 #define CRXRANKS_CONTINUE 900300
11 #define CRXRANKS_HANDLED 900301
12
13 /**
14 * Maximum buffer length for HUD information
15 */
16 const CRXRANKS_MAX_HUDINFO_LENGTH = 192
17
18 /**
19 * Maximum buffer length for player information
20 */
21 const CRXRANKS_MAX_PLAYER_INFO_LENGTH = 35
22
23 /**
24 * Maximum buffer length for a rank
25 */
26 const CRXRANKS_MAX_RANK_LENGTH = 32
27
28 /**
29 * Maximum buffer length for a XP reward
30 */
31 const CRXRANKS_MAX_XP_REWARD_LENGTH = 32
32
33 /**
34 * Maximum buffer length for XP as a string
35 */
36 const CRXRANKS_MAX_XP_LENGTH = 11
37
38 /**
39 * Save types for crxranks_get_save_type()
40 */
41 enum CRXRanks_SaveTypes
42 {
43 CRXRANKS_ST_NICKNAME = 0,
44 CRXRANKS_ST_IP,
45 CRXRANKS_ST_STEAMID
46 }
47
48 /**
49 * Types of sources when receiving XP
50 */
51 enum CRXRanks_XPSources
52 {
53 CRXRANKS_XPS_PLUGIN = 0,
54 CRXRANKS_XPS_REWARD,
55 CRXRANKS_XPS_ADMIN
56 }