Quote:
Originally Posted by red4911
SM 1.9
L 02/18/2018 - 10:07:15: Info (map "de_dust2") (file "errors_20180218.log")
L 02/18/2018 - 10:07:15: [SM] Exception reported: Array index out-of-bounds (index 6, limit 6)
L 02/18/2018 - 10:07:15: [SM] Blaming: deathmatch.smx
L 02/18/2018 - 10:07:15: [SM] Call stack trace:
L 02/18/2018 - 10:07:15: [SM] [1] Line 1279, C:\Users\Desktop\sourcemod\scripting\deathmat ch.sp::Event_Say
L 02/18/2018 - 10:07:27: [SM] Exception reported: Array index out-of-bounds (index 6, limit 6)
|
PHP Code:
public Action Event_Say(int client, const char[] command, int argc)
{
static char menuTriggers[][] = { "g", "gun", "!gun", "guns", "!guns" };
static char hsOnlyTriggers[][] = { "hs", "!hs", "/hs", "headshot", "!headshot", "/headshot" };