View Single Post
qiuhaian
Senior Member
Join Date: Nov 2009
Old 02-20-2018 , 07:18   Re: [CS:GO] Deathmatch (v2.0.7a, 2017-01-11)
Reply With Quote #426

Quote:
Originally Posted by red4911 View Post
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[] commandint argc)
{
    static 
char menuTriggers[][] = { "g""gun""!gun""guns""!guns" };
    static 
char hsOnlyTriggers[][] = { "hs""!hs""/hs""headshot""!headshot""/headshot" }; 
qiuhaian is offline