Saving Tyre States - How does this work?
#5

The above will repair the rest of the tires something Dokins doesn't want to. You can use something like this:
pawn Code:
enum Tire_States
{
    NONE,
    BR,
    FR,
    FR_BR,
    BL,
    BL_BR,
    FR_BL,
    FR_BL_BR,
    FL,
    FL_BR,
    FL_FR,
    FL_FR_BR,
    FL_BL,
    FL_BL_BR,
    FL_FR_BL,
    ALL
};
F=Front,B=Back,L=Left,R=Right, ALL and combination of the previous for popped tires and NONE for inflated tires.

and then do:
pawn Code:
(Tires | _:BL)
That will keep the same the other tires and pop back left.
Reply


Messages In This Thread
Saving Tyre States - How does this work? - by Dokins - 13.04.2016, 14:02
Re: Saving Tyre States - How does this work? - by Godey - 13.04.2016, 14:42
Re: Saving Tyre States - How does this work? - by Dokins - 13.04.2016, 14:43
Re: Saving Tyre States - How does this work? - by Godey - 13.04.2016, 14:45
Re: Saving Tyre States - How does this work? - by Konstantinos - 13.04.2016, 14:55
Re: Saving Tyre States - How does this work? - by Dokins - 13.04.2016, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)