Car Bombing
#1

I am creating a Car Bomb type thing. Basically if the car is armed it will explode when someone enters it, I am using enums. I have the bomb enum but on the car I want to use like a MAX_CARS. How would I create a custom function, as in Car[carid][Armed].

Thanks,
ScottCFR
Reply
#2

Why just not make a function like new CarBomb[MAX_VEHICLES] = 1/0;

Then you can check if that car has a bomb or not
Be sure you apply MAX_VEHILCES into your car you set bomb on etc etc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)