n
nUntil then, feel free to use them and post up some others that you have created.
n
n
// Returns entity name of provided wpnidn// Will pass the weaponname into the 2nd argumentnstock dod_get_weapon_name( wpnid, weaponname[], len )nn// Returns entity number of the client's weaponn// Provide *either* wpnid (ie. DODW_GARAND) *or* weaponname (ie. "weapon_garand")nstock dod_get_weapon_ent( id, wpnid=0, weaponname[] = "" )nn// Returns DODW_ id of the weapon entity providednstock dod_get_weapon_id( wpnent )nn// Special Scoped Weapons (ie. FG42, Enfield) are not their own weapon entitiesn// but use the entities of similar weapons and this offset to distinguishn// Returns whether or not the weapon is set to specialn// Provide *either* wpnid (ie. DODW_GARAND) *or* weaponname (ie. "weapon_garand")n// Only use the set param (value of 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock dod_scoped_weapon( id, wpnid, weaponname[] = "", set = -1 )nn// Gets or Sets the prone state of the clientn// Values: 0=Not Proned, 1=Proned, 2=Proned and Deployedn// Only use the set param (value of 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock dod_prone_state( id, set = -1 )nn// Gets or Sets whether or not the current weapon (ie. Rocket) is shoulderedn// Only use the set param (value of 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock dod_shouldered( id, set = -1 )nn// Returns whether or not the provided wpnid is a deployable weaponnstock dod_is_deployable( wpnid )nn// Gets or Sets the client's deploy staten// Values: 0=Not Deployed, 1=Deployable, 2=Deployedn// Only use the set param (value of 2, 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock dod_deploy_state( id, set = -1 )nn// Gets or Sets client's current staminan// Only use the set param (value of 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock Float:dod_stamina( id, Float:set = -1.0 )nn// Gets or Sets the fuse on a grenade entityn// Only use the set param (value of 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock Float:dod_fuse( grenindex, Float:set = -1.0 )nn// Tests if client has cl_autoreload enabled - Or sets it for themn// Only use the set param (value of 1 or 0) to set this offset; ignore it to "get"n// the current valuenstock dod_autoreload( id, set = -1 )nn// by diamond-optic (12.24.07)n// converts weapon ids (from dod_get_user_weapon for example)n// into the ids used for those weapons in death messagesnstock dod_weaponid_to_deathmsgid( weaponid )nn// Provided simply for convenience/logicnstock dod_is_map_british()

