crxknives_get_attribute_float

Syntax

native bool:crxknives_get_attribute_float(id, const attribute[], &Float:dest, bool:playerid = true)

Usage

id
Client index
attribute
Knife attribute
dest
Float variable to store the value in
playerid
If set to false, the "id" parameter will be treated as a knife index instead

Description

Returns the float value from a knife attribute.

Return

True if the client or knife has that attribute set, false otherwise