16.09.2017, 11:35
hi people!
How do I choose the data from this, such as the number of seats?
when you buy a vehicle...
script:
How do I choose the data from this, such as the number of seats?
when you buy a vehicle...
Код:
format(sgstr, sizeof(sgstr), "Ha megszeretnйd vбsбrolni a jбrművet kattints az 'Igen' gombra vagy a 'Nem'-re.\nCar Model Modell: %s\nGTA Modell: %s\nSeat: %d\nFuel Type: %s\nCost: $%d", GetVehicleNameEx(VasarolhatoSportKocsik[x][0]), GetVehicleNameEx2(VasarolhatoSportKocsik[x][0]), the seats code.. (VasarolhatoSportKocsik[x][1]));
Код:
new CoreVehicleData[212][E_VEHICLE_CORE_DATA] = { //window seat fuel type Csomagtartу mйret {true, 4, UZEMANYAG_DIZEL, 5}, //Landstalker {true, 2, UZEMANYAG_BENZIN, 4}, //Bravura {true, 2, UZEMANYAG_BENZIN, 3}, //Buffalo {true, 2, UZEMANYAG_DIZEL, 0}, //Linerunner {true, 4, UZEMANYAG_BENZIN, 5}, //Perenial {true, 4, UZEMANYAG_BENZIN, 4}, //Sentinel {true, 1, UZEMANYAG_DIZEL, 0}, //Dumper {true, 2, UZEMANYAG_DIZEL, 8}, //Firetruck {true, 2, UZEMANYAG_DIZEL, 8}, //Trashmaster {true, 4, UZEMANYAG_BENZIN, 4}, //Stretch {true, 2, UZEMANYAG_BENZIN, 3}, //Manana {true, 2, UZEMANYAG_BENZIN, 2}, //Infernus {true, 2, UZEMANYAG_BENZIN, 3}, //Voodoo {true, 4, UZEMANYAG_DIZEL, 10}, //Pony {true, 2, UZEMANYAG_DIZEL, 10}, //Mule {true, 2, UZEMANYAG_BENZIN, 2}, //Cheetah {true, 4, UZEMANYAG_DIZEL, 8}, //Ambulance {true, 2, UZEMANYAG_BENZIN, 10}, //Leviathan {true, 4, UZEMANYAG_BENZIN, 9}, //Moonbeam {true, 2, UZEMANYAG_BENZIN, 4}, //Esperanto {true, 4, UZEMANYAG_BENZIN, 3}, //Taxi {true, 4, UZEMANYAG_BENZIN, 3}, //Washington {true, 2, UZEMANYAG_DIZEL, 6}, //Bobcat {true, 2, UZEMANYAG_DIZEL, 8}, //Mr Whoopee {false, 2, UZEMANYAG_DIZEL, 1}, //BF Injection {true, 1, UZEMANYAG_BENZIN, 0}, //Hunter {true, 4, UZEMANYAG_BENZIN, 3}, //Premier {true, 4, UZEMANYAG_DIZEL, 9}, //Enforcer {true, 4, UZEMANYAG_DIZEL, 9}, //Securicar {true, 2, UZEMANYAG_BENZIN, 2}, //Banshee {false, 1, UZEMANYAG_BENZIN, 0}, //Predator {false, 8, UZEMANYAG_DIZEL, 8}, //Bus {false, 1, UZEMANYAG_DIZEL, 0}, //Rhino {true, 2, UZEMANYAG_DIZEL, 10}, //Barracks {true, 2, UZEMANYAG_BENZIN, 2}, //Hotknife {false, 1, UZEMANYAG_NINCS, 10}, //Article Trailer {true, 2, UZEMANYAG_BENZIN, 3}, //Previon {false, 8, UZEMANYAG_DIZEL, 8}, //Coach {true, 4, UZEMANYAG_BENZIN, 3}, //Cabbie {true, 2, UZEMANYAG_BENZIN, 3}, //Stallion {true, 4, UZEMANYAG_DIZEL, 9}, //Rumpo {false, 1, UZEMANYAG_BENZIN, 0}, //RC Bandit {true, 2, UZEMANYAG_BENZIN, 8}, //Romero {true, 2, UZEMANYAG_DIZEL, 0}, //Packer {true, 2, UZEMANYAG_DIZEL, 7}, //Monster {true, 4, UZEMANYAG_BENZIN, 4}, //Admiral {false, 1, UZEMANYAG_BENZIN, 0}, //Squallo {true, 2, UZEMANYAG_BENZIN, 0}, //Seasparrow {false, 1, UZEMANYAG_BENZIN, 1}, //Pizzaboy {false, 1, UZEMANYAG_BENZIN, 0}, //Tram {false, 1, UZEMANYAG_NINCS, 10}, //Article Trailer 2 {true, 2, UZEMANYAG_BENZIN, 2}, //Turismo {false, 1, UZEMANYAG_BENZIN, 0}, //Speeder {false, 1, UZEMANYAG_BENZIN, 0}, //Reefer {false, 1, UZEMANYAG_BENZIN, 0}, //Tropic {true, 2, UZEMANYAG_DIZEL, 10}, //Flatbed {true, 2, UZEMANYAG_DIZEL, 10}, //Yankee {false, 2, UZEMANYAG_BENZIN, 1}, //Caddy {true, 4, UZEMANYAG_BENZIN, 4}, //Solair {true, 4, UZEMANYAG_DIZEL, 8}, //Berkley's RC Van {true, 2, UZEMANYAG_BENZIN, 0}, //Skimmer {false, 1, UZEMANYAG_BENZIN, 1}, //PCJ-600 {false, 1, UZEMANYAG_BENZIN, 1}, //Faggio {false, 1, UZEMANYAG_BENZIN, 1}, //Freeway {false, 1, UZEMANYAG_BENZIN, 0}, //RC Baron {false, 1, UZEMANYAG_BENZIN, 0}, //RC Raider {true, 4, UZEMANYAG_BENZIN, 3}, //Glendale {true, 4, UZEMANYAG_BENZIN, 3}, //Oceanic {false, 1, UZEMANYAG_BENZIN, 1}, //Sanchez {true, 2, UZEMANYAG_BENZIN, 0}, //Sparrow {true, 4, UZEMANYAG_DIZEL, 7}, //Patriot {false, 2, UZEMANYAG_BENZIN, 1}, //Quad {false, 1, UZEMANYAG_BENZIN, 0}, //Coastguard {false, 1, UZEMANYAG_BENZIN, 0}, //Dinghy {true, 2, UZEMANYAG_BENZIN, 3}, //Hermes {true, 2, UZEMANYAG_BENZIN, 2}, //Sabre {false, 1, UZEMANYAG_BENZIN, 0}, //Rustler {true, 2, UZEMANYAG_BENZIN, 2}, //ZR-350 {true, 2, UZEMANYAG_DIZEL, 5}, //Walton {true, 4, UZEMANYAG_DIZEL, 4}, //Regina {true, 2, UZEMANYAG_BENZIN, 2}, //Comet {false, 1, UZEMANYAG_NINCS, 0}, //BMX {true, 4, UZEMANYAG_DIZEL, 10}, //Burrito {true, 3, UZEMANYAG_DIZEL, 9}, //Camper {false, 1, UZEMANYAG_BENZIN, 0}, //Marquis {false, 1, UZEMANYAG_BENZIN, 0}, //Baggage {false, 1, UZEMANYAG_DIZEL, 0}, //Dozer {true, 4, UZEMANYAG_BENZIN, 5}, //Maverick {true, 2, UZEMANYAG_BENZIN, 4}, //SAN News Maverick {true, 2, UZEMANYAG_DIZEL, 4}, //Rancher {true, 4, UZEMANYAG_DIZEL, 7}, //FBI Rancher {true, 2, UZEMANYAG_BENZIN, 3}, //Virgo {true, 4, UZEMANYAG_BENZIN, 3}, //Greenwood {false, 1, UZEMANYAG_BENZIN, 0}, //Jetmax {false, 2, UZEMANYAG_BENZIN, 2}, //Hotring Racer {true, 2, UZEMANYAG_DIZEL, 4}, //Sandking {true, 2, UZEMANYAG_BENZIN, 3}, //Blista Compact {true, 4, UZEMANYAG_BENZIN, 5}, //Police Maverick {true, 4, UZEMANYAG_DIZEL, 8}, //Boxville {true, 2, UZEMANYAG_DIZEL, 8}, //Benson {true, 2, UZEMANYAG_DIZEL, 2}, //Mesa {false, 1, UZEMANYAG_BENZIN, 0}, //RC Goblin {false, 2, UZEMANYAG_BENZIN, 2}, //Hotring Racer {false, 2, UZEMANYAG_BENZIN, 2}, //Hotring Racer {false, 2, UZEMANYAG_BENZIN, 3}, //Bloodring Banger {true, 2, UZEMANYAG_DIZEL, 4}, //Rancher {true, 2, UZEMANYAG_BENZIN, 2}, //Super GT {true, 4, UZEMANYAG_BENZIN, 4}, //Elegant {true, 2, UZEMANYAG_DIZEL, 10}, //Journey {false, 1, UZEMANYAG_NINCS, 0}, //Bike {false, 1, UZEMANYAG_NINCS, 0}, //Mountain Bike {true, 2, UZEMANYAG_BENZIN, 0}, //Beagle {true, 1, UZEMANYAG_BENZIN, 0}, //Cropduster {true, 1, UZEMANYAG_BENZIN, 0}, //Stuntplane {true, 2, UZEMANYAG_DIZEL, 0}, //Tanker {true, 2, UZEMANYAG_DIZEL, 0}, //Roadtrain {true, 4, UZEMANYAG_BENZIN, 3}, //Nebula {true, 2, UZEMANYAG_BENZIN, 3}, //Majestic {true, 2, UZEMANYAG_BENZIN, 3}, //Buccaneer {false, 1, UZEMANYAG_BENZIN, 0}, //Shamal {false, 1, UZEMANYAG_BENZIN, 0}, //Hydra {false, 2, UZEMANYAG_BENZIN, 1}, //FCR-900 {false, 2, UZEMANYAG_BENZIN, 1}, //NRG-500 {false, 2, UZEMANYAG_BENZIN, 1}, //Cop Bike HPV1000 {true, 2, UZEMANYAG_DIZEL, 0}, //Cement Truck {true, 2, UZEMANYAG_DIZEL, 0}, //Towtruck {true, 2, UZEMANYAG_BENZIN, 2}, //Fortune {true, 2, UZEMANYAG_BENZIN, 2}, //Cadrona {true, 2, UZEMANYAG_DIZEL, 6}, //FBI Truck {true, 4, UZEMANYAG_BENZIN, 3}, //Willard {false, 1, UZEMANYAG_DIZEL, 0}, //Forklift {false, 1, UZEMANYAG_DIZEL, 0}, //Tractor {true, 1, UZEMANYAG_DIZEL, 0}, //Combine Harvester {true, 2, UZEMANYAG_BENZIN, 3}, //Feltzer {true, 2, UZEMANYAG_BENZIN, 4}, //Remington {true, 2, UZEMANYAG_DIZEL, 4}, //Slamvan {true, 2, UZEMANYAG_BENZIN, 3}, //Blade {false, 1, UZEMANYAG_DIZEL, 0}, //Freight (Train) {false, 1, UZEMANYAG_DIZEL, 0}, //Brownstreak (Train) {false, 1, UZEMANYAG_BENZIN, 0}, //Vortex {true, 4, UZEMANYAG_BENZIN, 3}, //Vincent {true, 2, UZEMANYAG_BENZIN, 2}, //Bullet {true, 2, UZEMANYAG_BENZIN, 3}, //Clover {true, 2, UZEMANYAG_DIZEL, 5}, //Sadler {true, 2, UZEMANYAG_DIZEL, 10}, //Firetruck LA {true, 2, UZEMANYAG_BENZIN, 3}, //Hustler {true, 4, UZEMANYAG_BENZIN, 3}, //Intruder {true, 4, UZEMANYAG_BENZIN, 3}, //Primo {false, 2, UZEMANYAG_BENZIN, 10}, //Cargobob {true, 2, UZEMANYAG_BENZIN, 3}, //Tampa {true, 4, UZEMANYAG_BENZIN, 3}, //Sunrise {true, 4, UZEMANYAG_BENZIN, 3}, //Merit {true, 2, UZEMANYAG_DIZEL, 6}, //Utility Van {false, 1, UZEMANYAG_BENZIN, 8}, //Nevada {true, 2, UZEMANYAG_DIZEL, 6}, //Yosemite {true, 2, UZEMANYAG_BENZIN, 2}, //Windsor {true, 2, UZEMANYAG_DIZEL, 5}, //Monster "A" {true, 2, UZEMANYAG_DIZEL, 5}, //Monster "B" {true, 2, UZEMANYAG_BENZIN, 3}, //Uranus {true, 2, UZEMANYAG_BENZIN, 3}, //Jester {true, 4, UZEMANYAG_BENZIN, 4}, //Sultan {true, 4, UZEMANYAG_BENZIN, 4}, //Stratum {true, 2, UZEMANYAG_BENZIN, 3}, //Elegy {false, 2, UZEMANYAG_BENZIN, 10}, //Raindance {false, 1, UZEMANYAG_BENZIN, 0}, //RC Tiger {true, 2, UZEMANYAG_BENZIN, 3}, //Flash {true, 4, UZEMANYAG_BENZIN, 3}, //Tahoma {true, 4, UZEMANYAG_BENZIN, 3}, //Savanna {false, 1, UZEMANYAG_BENZIN, 0}, //Bandito {false, 1, UZEMANYAG_NINCS, 0}, //Freight Flat Trailer (Train) {false, 4, UZEMANYAG_NINCS, 0}, //Streak Trailer (Train) {false, 1, UZEMANYAG_BENZIN, 0}, //Kart {false, 1, UZEMANYAG_DIZEL, 0}, //Mower {true, 2, UZEMANYAG_DIZEL, 8}, //Dune {true, 1, UZEMANYAG_DIZEL, 0}, //Sweeper {true, 2, UZEMANYAG_BENZIN, 3}, //Broadway {true, 2, UZEMANYAG_BENZIN, 3}, //Tornado {false, 1, UZEMANYAG_BENZIN, 8}, //AT400 {true, 2, UZEMANYAG_DIZEL, 0}, //DFT-30 {true, 4, UZEMANYAG_DIZEL, 5}, //Huntley {true, 4, UZEMANYAG_BENZIN, 4}, //Stafford {false, 1, UZEMANYAG_BENZIN, 1}, //BF-400 {true, 4, UZEMANYAG_DIZEL, 7}, //Newsvan {true, 1, UZEMANYAG_BENZIN, 0}, //Tug {false, 1, UZEMANYAG_NINCS, 0}, //Petrol Trailer {true, 4, UZEMANYAG_BENZIN, 3}, //Emperor {false, 2, UZEMANYAG_BENZIN, 1}, //Wayfarer {true, 2, UZEMANYAG_BENZIN, 2}, //Euros {true, 2, UZEMANYAG_DIZEL, 5}, //Hotdog {true, 2, UZEMANYAG_BENZIN, 3}, //Club {false, 1, UZEMANYAG_NINCS, 0}, //Freight Box Trailer (Train) {false, 1, UZEMANYAG_NINCS, 10}, //Article Trailer 3 {false, 1, UZEMANYAG_BENZIN, 10}, //Andromada {true, 2, UZEMANYAG_BENZIN, 2}, //Dodo {false, 1, UZEMANYAG_BENZIN, 0}, //RC Cam {false, 1, UZEMANYAG_BENZIN, 0}, //Launch {true, 4, UZEMANYAG_BENZIN, 4}, //Police Car (LSPD) {true, 4, UZEMANYAG_BENZIN, 4}, //Police Car (SFPD) {true, 4, UZEMANYAG_BENZIN, 4}, //Police Car (LVPD) {true, 2, UZEMANYAG_DIZEL, 5}, //Police Ranger {true, 2, UZEMANYAG_BENZIN, 3}, //Picador {false, 2, UZEMANYAG_DIZEL, 5}, //S.W.A.T. {true, 2, UZEMANYAG_BENZIN, 2}, //Alpha {true, 2, UZEMANYAG_BENZIN, 2}, //Phoenix {true, 4, UZEMANYAG_BENZIN, 3}, //Glendale Shit {true, 4, UZEMANYAG_BENZIN, 4}, //Sadler Shit {false, 1, UZEMANYAG_NINCS, 0}, //Baggage Trailer "A" {false, 1, UZEMANYAG_NINCS, 0}, //Baggage Trailer "B" {false, 1, UZEMANYAG_NINCS, 0}, //Tug Stairs Trailer {true, 4, UZEMANYAG_DIZEL, 8}, //Boxville {false, 1, UZEMANYAG_NINCS, 0}, //Farm Trailer {false, 1, UZEMANYAG_NINCS, 0} //Utility Trailer };