27 |
enum { |
enum { |
28 |
XMF_DAMAGE = 0, |
XMF_DAMAGE = 0, |
29 |
XMF_DEATH, |
XMF_DEATH, |
30 |
} |
}; |
31 |
|
|
32 |
/* Use this function to register forwards */ |
/* Use this function to register forwards */ |
33 |
native register_statsfwd( ftype ); |
native register_statsfwd( ftype ); |
133 |
* Use the TFC_GOALITEM_* constants to determine the owning team. |
* Use the TFC_GOALITEM_* constants to determine the owning team. |
134 |
*/ |
*/ |
135 |
native tfc_get_user_goalitem(index, &team); |
native tfc_get_user_goalitem(index, &team); |
136 |
|
|
137 |
|
/* Returns 1 if the player is a spy and is currently feigning death */ |
138 |
|
native tfc_is_user_feigning(index); |
139 |
|
|
140 |
|
/* Returns 1 if the two teams are allies, 0 otherwise |
141 |
|
* Note: Team must be 1->4 |
142 |
|
* Team 0 will always return 0 |
143 |
|
* Any other team will result in an error |
144 |
|
*/ |
145 |
|
native tfc_is_team_ally(TeamA,TeamB); |