Skip to content

attribute ​

27 native definitions. Call through natives.attribute or natives.ATTRIBUTE.
FunctionReturnsParametersNative hash
_enable_attribute_core_overpowervoidped: Ped, coreIndex: int, value: float, makeSound: BOOL
_get_attribute_core_overpower_seconds_leftfloatped: Ped, coreIndex: int
_get_attribute_core_valueintped: Ped, coreIndex: int
_get_attribute_overpower_seconds_leftfloatped: Ped, attributeIndex: int
_is_attribute_core_overpoweredBOOLped: Ped, coreIndex: int
_is_attribute_overpoweredBOOLped: Ped, attributeIndex: int
_set_attribute_core_valuevoidped: Ped, coreIndex: int, value: int
_set_status_effect_core_iconvoidstatusEffectType: int
_set_status_effect_periodic_iconvoidstatusEffectType: int
_start_item_previewvoidp0: Any, p1: int
_stop_status_effect_periodic_iconvoidstatusEffectType: int
add_attribute_pointsvoidped: Ped, attributeIndex: int, p2: int
disable_attribute_overpowervoidped: Ped, attributeIndex: int
enable_attribute_overpowervoidped: Ped, attributeIndex: int, value: float, makeSound: BOOL
get_attribute_base_rankintped: Ped, attributeIndex: int
get_attribute_bonus_rankintped: Ped, coreIndex: int
get_attribute_pointsintped: Ped, attributeIndex: int
get_attribute_rankintped: Ped, attributeIndex: int
get_default_attribute_points_needed_for_rankintmodelHash: Hash, attributeIndex: int, rank: int
get_default_attribute_rankintped: Ped, attributeIndex: int
get_default_max_attribute_rankintped: Ped, attributeIndex: int
get_max_attribute_pointsintped: Ped, attributeIndex: int
get_max_attribute_rankintped: Ped, attributeIndex: int
set_attribute_base_rankvoidped: Ped, attributeIndex: int, newValue: int
set_attribute_bonus_rankvoidped: Ped, attributeIndex: int, newValue: int
set_attribute_pointsvoidped: Ped, attributeIndex: int, p2: int
stop_item_previewvoid—

Generated declarations; individual native behaviour may be undocumented. See argument and result mapping before calling a native.