bb_get_user_block

Returns the users entity..

Syntax

native bb_get_user_block(id) /** * Sets the users current moving block to the entity specified. * * @param id Player index. * @param entity Entity index. */ native bb_set_user_block(id, entity) /** * Returns whether a block is locked or not. * * @param entity Entity index. * @return True if it is, false otherwise */ native bb_is_locked_block(entity) /** * Locks specified block if applicable. * * @param entity Entity index. */ native bb_lock_block(entity) /** * Unlocks specified block if applicable. * * @param entity Entity index. */

Usage

id Player index.

Return

Entity — index if true, 0 if none

Defined in basebuilder.inc at line 188 . This documentation was automatically generated from source.