22.08.2018, 13:17
I'm sure there is a better way to optimize this code:
pawn Код:
if(vehicleid == CarRentLs[1] || vehicleid == CarRentLs[2] || vehicleid == CarRentLs[3] || vehicleid == CarRentLs[4] || vehicleid == CarRentLs[5] || vehicleid == CarRentLs[6] || vehicleid == CarRentLs[7] || vehicleid == CarRentLs[8] || vehicleid == CarRentLs[9])