Code:
PHP Code:
public HudHPColor(Float:a, &Float:b, &Float:c)
{
static r[3], g[3], b[3]
get_pcvar_string(g_msg_colors, r, 2)
strbreak(r, g, 9, b, 2)
r = str_to_float(r)
g = str_to_float(g)
b = str_to_float(b)
}
Error:
PHP Code:
plugin.sma(49 -- 50) : error 033: array must be indexed (variable "r")
plugin.sma(50 -- 51) : error 033: array must be indexed (variable "g")
plugin.sma(51 -- 52) : error 033: array must be indexed (variable "b")
plugin.sma(51 -- 52) : fatal error 107: too many error messages on one line
__________________