View Single Post
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-06-2019 , 03:35   Re: error 032: array index out of bounds (variable "color3")
Reply With Quote #7

Sorry, i'm not out of patience, but i have no idea what you are talking about as i have no idea about scripting at all.
I have replaced the line you posted and tried to compile, it failed. Then i changed the line
Code:
set_hudmessage(color3[0][0], color3[0][1], color3[0][2], -1.0, verpos, 0, 6.0, 6.0, 0.5, 0.15, -1)
to
Code:
set_hudmessage(color3[[0], color3[1], color3[2], -1.0, verpos, 0, 6.0, 6.0, 0.5, 0.15, -1)
which gives me this
Code:
AMX Mod X Compiler 1.9.0.5235
Copyright (c) 1997-2006 ITB CompuPhase
Copyright (c) 2004-2013 AMX Mod X Team

hlstatsx_commands_cstrike.sma(926) : error 032: array index out of bounds (variable "color3")

1 Error.
Could not locate output file compiled/hlstatsx_commands_cstrike.amx (compile failed).
As said: I have no idea about coding, so a complete list of lines and how to change them is needed and greatly appreciated.
__________________

Mordekay is offline