02.04.2019, 17:09
Hello everyone. How should I properly use GetVehicleDamageStatus, UpdateVehicleDamageStatus, and most important - store it in mysql database? I can't fully understand how does bits works, how is they used in damage status, how to export them properly (wiki says, that sa-mp returns a decimal number, and using encode_(panels, doors, tires, lights) I should get every part damage state separately). I read tutorials about bit, but that did not helped for me. Can someone provide an example, how to properly get, update, and most important - store vehicle damage status in database. That type of column should I use? Integer, Bit, or any other type? Thanks in advance!