[Half-Life AMXX] / include / tfcx.inc Repository:
ViewVC logotype

Diff of /include/tfcx.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 16, Fri Nov 16 15:12:40 2007 UTC revision 17, Fri Nov 16 15:29:57 2007 UTC
# Line 27  Line 27 
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 );
# Line 133  Line 133 
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);

Legend:
Removed from v.16  
changed lines
  Added in v.17

Contact
ViewVC Help
Powered by ViewVC 1.0.4