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

Diff of /include/dodfun.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 23  Line 23 
23  /* Function is called after grenade throw */  /* Function is called after grenade throw */
24  forward grenade_throw(index,greindex,wId);  forward grenade_throw(index,greindex,wId);
25    
26    /* Function is called after a rocket is shot */
27    forward rocket_shoot(index,rocketindex,wId);
28    
29  /* Example: for full stamina use dod_player_stamina(1,STAMINA_SET,100,100) */  /* Example: for full stamina use dod_player_stamina(1,STAMINA_SET,100,100) */
30  /* value is from 0 - 100 */  /* value is from 0 - 100 */
31  native dod_set_stamina(index,set=STAMINA_SET,minvalue=0,maxvalue=100);  native dod_set_stamina(index,set=STAMINA_SET,minvalue=0,maxvalue=100);
# Line 46  Line 49 
49  /* Returns player deaths */  /* Returns player deaths */
50  native dod_get_pl_deaths(index);  native dod_get_pl_deaths(index);
51    
52  /* Sets player deaths. */  /* Sets player deaths.
53     * Note if you opt to refresh the scoreboard, it
54     * will make the player appear as "DEAD" in the scoreboard.
55     */
56  native dod_set_pl_deaths(index,value,refresh=1);  native dod_set_pl_deaths(index,value,refresh=1);
57    
58  /* Returns player deaths. */  /* Returns player deaths. */

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

Contact
ViewVC Help
Powered by ViewVC 1.0.4