bunkers[player] = createObject(2060, px, py, pz, 0, 0, rz) for I = 1, 5 do -- for left side bags if (i<=2) then local obj = createObject(2060, px, py, pz-10) attachElements(obj, bunkers[player], 0, 0, 0.25*i) end -- for right side bags if (i>2) then local obj = createObject(2060, px, py, pz-10) attachElements(obj, bunkers[player], 1, 0, 0.25*(i-3)) end end
imo it looks much nicer if at a roadblock or a carshow people use the same barriers
So its like a CITyzone, you have 5 object limits.And there are 5 different kinds of objects (barriers) to choose from. So choose any 5 objects. All 5 barriers maybe of same type, or all of them may be different, but max no. of barriers one can spawn is 5.
Since, bullets can actually pass through those gaps.
Or just /barrier1 =type 1 and /barrier2 =type 2 etc.And maximum you can place 4? Then we don't need to have a window or something.
I didn't get you. What you said is already there.But what Daymian suggested is, like as it is now, max no. of barriers we can spawn is still 4 or 5 (if sandbag is added).But, on each spawn, we can select what type of barrier to spawn.So its like a CITyzone, you have 5 object limits.And there are 5 different kinds of objects to choose from. So choose any 5 objects. All 5 maybe same, or all of them may be different objects, but max object 1 can spawn is 5.
It's a nice idea.But how about being able to takecover behind the sandbag without gettinf jailed or rule breaking,But offc with some rules to avoid abusse, not placing two sandbags beside each others Only taking cover behind one, and offc not used in events lv etc..Just in roadblocks.Or what is better having an 'HP' for the barrier then it destroyes and the soldier/cop have to wait 20 second to place another one.
Well I mean, for example, /barrier5 is the sandbag. You can do /barrier5 4 times to place 4 sandbags.Then we don't need a window to choose which type of barrier we want.