One more specification
Code:
for (new i=0; i < 4; i++) {
if((containi(arg[i],read) != -1))
{
console_print(id, "%L", id, "NOT_ALLOW_LMP")
return PLUGIN_HANDLED
}
}
and when i use equali , the plugin do plugin handled to all maps,
even on those which are not entered in the file.
if i do so
Code:
if(equali(arg[0],read))
{
console_print(id, "%L", id, "NOT_ALLOW_LMP")
return PLUGIN_HANDLED
}
then work, but only with one maps
i tried do
Code:
if(equali(arg[0],read) || equali(arg[1],read) || equali(arg[2],read)...)
{
console_print(id, "%L", id, "NOT_ALLOW_LMP")
return PLUGIN_HANDLED
}
It works also as with a cycle