AMXX-BG.INFO hdr_core.inc Raw include

hdr_core.inc

Original include source with line numbers.

Back Download .inc
1 #if defined _hdr_core_included
2 #endinput
3 #endif
4 #define _hdr_core_included
5
6
7 /**
8 * Get player index of current Activator.
9 *
10 * @return Activator index.
11 */
12 native hdr_get_activator()
13
14 /**
15 * Get player index of who will became activator in new round.
16 *
17 * @return Activator index.
18 */
19 native hdr_get_next_activator()
20
21 /**
22 * Set player who will became activator in new round.
23 *
24 * @param id Next activator index.
25 */
26 native hdr_set_next_activator(id)
27
28 /**
29 * Get player in which team is currently
30 *
31 * @param id Player index.
32 */
33 native TeamName:hdr_get_runner_team(id)
34
35 /**
36 * Set player who will became activator in current round.
37 *
38 * @param id Current activator index.
39 */
40 native hdr_set_activator(id)
41
42 /**
43 * Forward which called when chosen new activator(new round or disconnect).
44 *
45 * @param id Activator index.
46 */
47 forward HDR_On_New_Activator(id)
48
49 /**
50 * Forward which called when activator wins.
51 *
52 * @param id Activator index.
53 *
54 * NOTE: Return everyone of Activators id
55 */
56 forward HDR_On_Activator_Win(id)
57
58 /**
59 * Forward which called when runners win.
60 *
61 * @param id Runners index.
62 *
63 * NOTE: Return everyone of Runners id
64 */
65 forward HDR_On_Runners_Win(id)
66
67 /**
68 * Forward which called when new round begins.
69 *
70 */
71 forward HDR_On_Round_Started()
72
73 /**
74 * Forward which called when round ends.
75 *
76 */
77 forward HDR_On_Round_End()
78
79 /**
80 * Forward which called when runner/activator spawns.
81 *
82 * @param id Player index.
83 */
84 forward HDR_On_Player_Spawn(id)