bb_set_user_primary

Sets their "primary weapon" (weapon that is drawn at round start).

Syntax

native bb_set_user_primary(id, csw_gun) /** * Returns their current primary weapon. * * @param id Player index. * @return Returns primary weapon as CSW_ constant. */ native bb_get_user_primary(id) /** * Returns current mod admin flags for the following * * @return Returns the ADMIN flags for specified level */ native bb_get_flags_build() native bb_get_flags_lock() native bb_get_flags_buildban() native bb_get_flags_swap() native bb_get_flags_revive() native bb_get_flags_guns() native bb_get_flags_release() native bb_get_flags_override() /*------------------------------------------------------------------------------------------------*/ //Disabled until fixed /** * Sets a multiplier for a class (for use with credits add-on)

Usage

id Player index.
csw_gun
Defined in basebuilder.inc at line 231 . This documentation was automatically generated from source.