Hello, i want to do it then MAP CHANGES. IT SIMPLY CHECK IS 35hp and etc. in map name. if not false, it set variable value to 0... default "mapz" value=1
I want to disable of buying menu for VIP

so i need only 2 answers:
how to set variable and how to check is 35hp in mapname at mapchange.(mapname = get_mapname(mapname, 31))
so:
PHP Code:
if (containi(mapname,"35hp")!=-1)
set mapz to 0( i dont know how)(mapz is variable)
if (containi(mapname,"ka_")!=-1)
set mapz to 0( i dont know how)(mapz is variable)
if (containi(mapname,"awp_")!=-1)
set mapz to 0( i dont know how)(mapz is variable)
if (containi(mapname,"fy_")!=-1)
set mapz to 0( i dont know how)(mapz is variable)
if (containi(mapname,"most_")!=-1)
set mapz to 0( i dont know how)(mapz is variable)
PHP Code:
if(mapz > 0) {
my all commands will be executed here :)
}