bb_lock_block
Locks specified block if applicable.
Syntax
native bb_lock_block(entity) /** * Unlocks specified block if applicable. * * @param entity Entity index. */ native bb_unlock_block(id, entity) /** * Releases the zombies if valid. */ native bb_release_zombies() /** * Sets their "primary weapon" (weapon that is drawn at round start). * * @param id Player index. * @param csw_primary CSW_ primary to set to from CSW_P228 to CSW_P90. */ 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)
Usage
| entity | Entity index. |
Defined in
basebuilder.inc
at line 211
.
This documentation was automatically generated from source.