02.04.2011, 06:22
Well a vehicle's interior will always be 0 unless you change it yourself... so justs keep a variable that changes with a vehicle's interior.
Or use those 2 functions in substitution to LinkVehicleToIntrior
pawn Код:
new vInterior[MAX_VEHICLES];
stock SetVehicleInterior(vehicleid,interiorid)
{
LinkVehicleToInterior(vehicleid,interiorid);
vInterior[vehicleid]=interiorid;
}
stock GetVehicleInterior(vehicleid)return vInterior[vehicleid]=interiorid;