Find empty vehicle seats
#2

You could try using something like this:

pawn Код:
new VehicleSeats[] = {
4,2,2,2,4,4,1,2,2,4,2,2,2,4,2,2,4,2,4,2,4,4,2,2,2,1,4,4,4,2,1,500,1,2,2,0,2,500,4,2,4,1,2,2,2,4,1,2,
1,0,0,2,1,1,1,2,2,2,4,4,2,2,2,2,1,1,4,4,2,2,4,2,1,1,2,2,1,2,2,4,2,1,4,3,1,1,1,4,2,2,4,2,4,1,2,2,2,4,
4,2,2,1,2,2,2,2,2,4,2,1,1,2,1,1,2,2,4,2,2,1,1,2,2,2,2,2,2,2,2,4,1,1,1,2,2,2,2,500,500,1,4,2,2,2,2,2,
4,4,2,2,4,4,2,1,2,2,2,2,2,2,4,4,2,2,1,2,4,4,1,0,0,1,1,2,1,2,2,1,2,4,4,2,4,1,0,4,2,2,2,2,0,0,500,2,2,
1,4,4,4,2,2,2,2,2,4,2,0,0,0,4,0,0};

GetVehicleMaxSeats(vehicleid) return VehicleSeats[(GetVehicleModel(vehicleid) - 400)];
Reply


Messages In This Thread
Find empty vehicle seats - by Hobod - 19.03.2011, 16:22
Re: Find empty vehicle seats - by Stigg - 19.03.2011, 16:30
Re: Find empty vehicle seats - by Hobod - 19.03.2011, 16:47
Re: Find empty vehicle seats - by Stigg - 19.03.2011, 16:49
Re: Find empty vehicle seats - by jamesbond007 - 19.03.2011, 16:56
Re: Find empty vehicle seats - by Stigg - 19.03.2011, 16:58
Re: Find empty vehicle seats - by Hobod - 19.03.2011, 17:09
Re: Find empty vehicle seats - by SpankMe2 - 18.01.2012, 20:49
Re: Find empty vehicle seats - by clarencecuzz - 29.07.2012, 13:15
Re: Find empty vehicle seats - by Littlehelper - 29.07.2012, 13:18

Forum Jump:


Users browsing this thread: 5 Guest(s)