SetRegionBlocked("blok2", 2, true);
It seems to be written correctly, but the region is blocked for player 1 as well. Can you tell me what is wrong with this script?
New here? I'm Roha — want a quick tour?
Hello. I encountered an error with a script while testing my map:
SetRegionBlocked("blok2", 2, true);
It seems to be written correctly, but the region is blocked for player 1 as well. Can you tell me what is wrong with the script.
I am attaching my map.
SetRegionBlocked('blok2', true, 2)
the parameters are listed in the wrong order. The block status should come first, followed by the player number:SetRegionBlocked('blok2', true, 2)