McCall Posted June 9, 2020 Posted June 9, 2020 Hi guys. I'm looking for a solution for my problem. I want to create a bunch of coleshapes, but just one time using with a block or something else. So what im using at this moment is look like this: ColShape col_Parkslot_1 = NAPI.ColShape.CreateCylinderColShape(new Vector3(-137, 6199, 31), 2.0f, 1.0f); ColShape col_Parkslot_2 = NAPI.ColShape.CreateCylinderColShape(new Vector3(-137, 6199, 31), 2.0f, 1.0f); ColShape col_Parkslot_3 = NAPI.ColShape.CreateCylinderColShape(new Vector3(-137, 6199, 31), 2.0f, 1.0f); And what I want is something like this: Colshape ParkSlot[50]; ParkSlot[1] = NAPI.ColShape.CreateCylinderColShape(new Vector3(-137, 6199, 31), 2.0f, 1.0f); ParkSlot[2] = NAPI.ColShape.CreateCylinderColShape(new Vector3(-137, 6199, 31), 2.0f, 1.0f); ParkSlot[3] = NAPI.ColShape.CreateCylinderColShape(new Vector3(-137, 6199, 31), 2.0f, 1.0f); Can you guys help me with this please? Thanks in advance! (Sry for the f*cked up description. I've came from pawn, and over there this is the way how we do things )
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now