bb_get_user_primary
Returns their current primary weapon.
Syntax
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) * * @param id Player index. * @param attribute Attribute enum to change * @param amount Float value hat will multiply by * @return Returns 1 if successful, 0 if not */ //native bb_set_user_mult(id, attribute, Float:amount) /*------------------------------------------------------------------------------------------------*/
Usage
| id | Player index. |
Return
Returns — primary weapon as CSW_ constant.
Defined in
basebuilder.inc
at line 239
.
This documentation was automatically generated from source.