11.07.2012, 09:08
I use this. I don't know who originally wrote this, but I don't take credit for it;
Using this page you can see which values to set: https://sampwiki.blast.hk/wiki/TireStates
pawn Код:
encode_tires(tires1, tires2, tires3, tires4) {
return tires1 | (tires2 << 1) | (tires3 << 2) | (tires4 << 3);
}