List of functions in dodfun.inc

Function Description
grenade_throw
Function is called after grenade throw
rocket_shoot
Function is called after a rocket is shot
dod_set_stamina
value is from 0 - 100
dod_set_fuse
types : new or preprimed
dod_set_user_class
Sets player class
dod_set_user_team
Sets player team and random class. Don't work for spectators.
dod_get_next_class
Returns next player class. Usefull is player is using random class
dod_is_randomclass
Returns 1 if player choose random class
dod_get_pl_deaths
Returns player deaths
dod_set_pl_deaths
Sets player deaths.
Note if you opt to refresh the scoreboard, it
will make the player appear as "DEAD" in the scoreboard.
dod_get_user_kills
Returns player deaths.
dod_set_user_kills
Sets player kills.
dod_set_user_score
Sets player score.
dod_set_pl_teamname
Sets new team name for this player
dod_get_pl_teamname
Gets player team name
dod_is_deployed
Returns 1 is player weapon is deployed (bar,mg..)
dod_set_user_ammo
Sets the ammo of the specified weapon entity id
dod_get_user_ammo
Gets the ammo of the specified weapon entity id
controlpoints_init
called after first InitObj
objectives_get_num
returns number of objectives
objectives_reinit
use this function to update client(s) hud. You need to do this sometimes. Check CP_VALUE comments.
if player is 0 , all clients will get this message
objective_get_data
use this function to get info about specified control point
objective_set_data
use this function to change control point's data
area_get_data
use this function to get info about specified control point's area
area_set_data
use this function to change control point's area data