PHP Code:
if(equal(szKey, "goomba_sound_kill"))
{
if(szValue[0])
{
copy(g_eSettings[goomba_sound_kill], charsmax(g_eSettings[goomba_sound_kill]), szValue)
precache_sound(szValue)
}
}
else if(equal(szKey, "goomba_sound_damage"))
{
if(szValue[0])
{
copy(g_eSettings[goomba_sound_damage], charsmax(g_eSettings[goomba_sound_damage]), szValue)
precache_sound(szValue)
}
}
Why are you checking szValue[0] here? It's already done at line 134:
PHP Code:
if(!szValue[0])
{
continue
}
Otherwise, looks okay after a quick check. I swear your config files are so obnoxious to review.
__________________