Getting tire damage states
#2

I use this. I don't know who originally wrote this, but I don't take credit for it;

pawn Код:
encode_tires(tires1, tires2, tires3, tires4) {
    return tires1 | (tires2 << 1) | (tires3 << 2) | (tires4 << 3);
}
Using this page you can see which values to set: https://sampwiki.blast.hk/wiki/TireStates
Reply


Messages In This Thread
Getting tire damage states - by MP2 - 11.07.2012, 08:46
Re: Getting tire damage states - by Vince - 11.07.2012, 09:08
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:25
Re: Getting tire damage states - by clarencecuzz - 11.07.2012, 09:30
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:31
Re: Getting tire damage states - by Kar - 11.07.2012, 09:40
Re: Getting tire damage states - by clarencecuzz - 11.07.2012, 09:43
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:44
Re: Getting tire damage states - by Vince - 11.07.2012, 09:47
Re: Getting tire damage states - by MP2 - 11.07.2012, 09:53

Forum Jump:


Users browsing this thread: 1 Guest(s)