I start server. And we have a map, there we play...

Every time then server change map, plugin must check:
if (containi(mapname,"35hp")!=-1)
set mapz to 0 ( i dont know how to set variable "mapz")
if (containi(mapname,"ka_")!=-1)
set mapz to 0
if (containi(mapname,"awp_")!=-1)
set mapz to 0
if (containi(mapname,"fy_")!=-1)
set mapz to 0
if (containi(mapname,"most_")!=-1)
set mapz to 0
I dont know to to set variable "mapz" to 0
then i have:
PHP Code:
if (mapz > 0) { it will do my commands :)
} // mapz value > 0 i will normaly enable custom item menu :)
point of this is disable free items for VIP in these maps. (because you dont want to see player shooting from ak47 in knife maps?)
p.s. i dont paste all code, because its very long...