View Single Post
axelnieves2012
Senior Member
Join Date: Oct 2014
Location: Argentina
Old 02-04-2019 , 18:01   Re: [PROBLEM] Array sizes do not match
Reply With Quote #2

I think Sourcemod is crazy (bugged).

If I do this:
PHP Code:
char[] StrGetSurvivorClass(survivor)
{
    if (
left4dead==1)
        return 
L4D2_S_CLASSES[survivor];
    else
        return 
L4D2_S_CLASSES[survivor];

Plugin compiles. May Sourcemod 1.9 be bugged? I will try online compiler.

EDIT: Online compiler failed too

Last edited by axelnieves2012; 02-04-2019 at 21:12.
axelnieves2012 is offline