List of functions in dodx.inc

Function Description
client_score
Function is called if player scored
dod_client_changeteam
This Forward is called when a player changes team
dod_client_changeclass
This Forward is called if a player changes class, but just after spawn
dod_client_spawn
This Forward is called when a player spawns
dod_client_scope
This will be called whenever a player scopes or unscopes
value = 1 scope up
value = 0 scope down
dod_client_weaponpickup
This will be called whenever a player drops a weapon
weapon is weapon dropped or picked up
value = 1 picked up
value = 0 dropped
dod_client_prone
Called whenever the the player goes to or comes from prone position
value = 1 going down
value = 0 getting up
dod_client_weaponswitch
This will be called whenever a player switches a weapon
dod_grenade_explosion
Forward for when a grenade explodes and its location
dod_rocket_explosion
Forward for when a rocket explodes and its location
dod_client_objectpickup
Forward for when a player picks up a object
dod_client_stamina
Forward for when a users stamina decreases
dod_weapon_type
We want to get just the weapon of whichever type that the player is on him
Use DODWT_* in dodconst.inc for type
dod_set_weaponlist
This native will change the position of a weapon within the users slots and its ammo ammount
dod_set_model
Sets the model for a player
dod_set_body_number
Sets the model for a player
dod_clear_model
Un-Sets the model for a player
dod_wpnlog_to_name
weapon logname to weapon name convertion
dod_wpnlog_to_id
weapon logname to weapon index convertion
dod_get_map_info
This function has no description.
dod_get_user_weapon
Returns id of currently carried weapon. Gets also
ammount of ammo in clip and backpack.
dod_get_team_score
Returns team score
dod_get_user_class
Returns player class id
dod_get_user_score
Returns player score
dod_get_pronestate
values are: 0-no prone, 1-prone, 2-prone + w_deploy
dod_user_kill
It is not as safe as original but player deaths will not be increased