• need help with script
    1 replies, posted
I want to set it: when map gm_flatgrass then [CODE]boxcord=ents.FindInBox(Vector(768, -512, 30), Vector(1280, 512, 230))[/CODE] if map gm_***** then [CODE]boxcord=ents.FindInBox(Vector(-8763,-3457,96), Vector(-8252,-3202,300))[/CODE] this is part of the code i want to use "boxcord" [LUA] for _, ent in pairs(boxcord) do[/LUA]
[lua] if game.GetMap() == "gm_flatgrass" then boxcord = ents.FindInBox(Vector(768, -512, 30), Vector(1280, 512, 230)); else boxcord=ents.FindInBox(Vector(-8763,-3457,96), Vector(-8252,-3202,300)) end [/lua]
Sorry, you need to Log In to post a reply to this thread.