Jump to content
  • 0

[Intrebare] Cum scot masinile de la Case?


gRz

Question

4 answers to this question

Recommended Posts

pai din GM dar vroiam un sfat/hint ca nu le gasesc...

uite ce am legat de masinile de la casa:

[pawn]//===============================================================================================//

new Float:HouseCarSpawns[42][4] = {

{-2637.2544,165.0454,4.2919,179.9976},// House 0

{2064.4,-1694.4,13.1,271.1561},// House 1

{-2712.7625,870.3005,70.5348,89.1608},// House 2

{1109.8,-968.0,42.7,0.0},// House 3

{2497.6274,-2025.6306,13.2521,355.4281}, // House 4

{2645.0,-1990.8,13.1,180.0},// House 5

{-2724.8965,914.8384,67.4253,110.1072},// House 6

{1910.5149,-1120.5304,25.4493,177.8350},// House 7

{828.8,-887.0,68.5,230.7095},// House 8

{2149.6,-1610.9,14.0,90.7904},// House 9

{760.1,-1687.8,4.3,180.6},// House 10

{645.5,-1616.1,14.9,0.0},// House 11

{-2635.2371,931.1931,71.5643,215.3709},// House 12

{-2665.9224,989.9724,64.6955,1.7814},// House 13

{810.2540,-1448.8888,13.2043,85.8401},// House 14

{2445.8,-1326.8,23.6,18.4},// House 15

{2845.9,-1286.8,18.9,90.0},// House 16

{2159.8,-1803.9,13.3,271.4}, // House 17

{-2693.7847,132.3186,4.1676,89.5330},// House 18

{-2723.0105,977.7357,54.2926,359.9068},// House 19

{1514.0,-694.6,94.5,90.0},// House 20

{1246.7,-1107.6,25.5,266.4},// House 21

{831.7,-857.5,69.9,180.0},// House 22

{1007.9,-659.4,121.1,130.6194},// House 23

{1110.0,-726.4,100.1,90.0},// House 24

{259.7,-1221.0,74.7,202.0011},// House 25

{1463.7,-901.7,55.8,359.0},// House 26

{1440.1,-890.6,51.2,0.0},// House 27

{-2528.8298,2250.2998,4.8112,334.9590},// House 28

{-2554.7874,2270.5356,4.9064,333.9774}, // House 29

{-2371.1323,2438.4104,9.0698,159.2582},// House 30

{-2237.9492,893.7390,66.4872,89.7571},// House 31

{-2529.4817,-142.6608,19.7107,4.2929}, // House 32

{-2616.1897,-108.4479,4.1693,269.8246},// House 33

{2649.3967,735.6362,10.9137,179.1435},// House 34

{1562.5629,1928.5232,10.9132,270.8059},// House 35

{1942.2811,938.0125,10.8349,270.3433},// House 36

{2635.0100,2010.0043,10.9134,179.0588},// House 37

{2822.6055,2253.1299,10.9131,90.5169},// House 38

{2062.5310,2649.4307,10.8358,89.9196},// House 39

{1767.4087,2861.8823,11.1140,181.7083},// House 40

{285.1157,-1158.3091,81.0051,224.0341}// House 41

};

//===============================================================================================//

//===============================================================================================//

new VehicleName[][] = { "Landstalker", "Bravura", "Buffalo", "Linerunner", "Perrenial", "Sentinel", "Dumper", "Firetruck", "Trashmaster", "Stretch", "Manana", "Infernus", "Voodoo", "Pony", "Mule", "Cheetah", "Ambulance", "Leviathan", "Moonbeam", "Esperanto", "Taxi", "Washington", "Bobcat", "Whoopee", "BF Injection", "Hunter", "Premier",

"Enforcer", "Securicar", "Banshee", "Predator", "Bus", "Rhino", "Barracks", "Hotknife", "Trailer", "Previon", "Coach", "Cabbie", "Stallion", "Rumpo", "RC Bandit", "Romero", "Packer", "Monster", "Admiral", "Squalo", "Seasparrow", "Pizzaboy", "Tram", "Trailer", "Turismo", "Speeder", "Reefer", "Tropic", "Flatbed", "Yankee", "Caddy",

"Solair", "Berkley's RC Van", "Skimmer", "PCJ-600", "Faggio", "Freeway", "RC Baron", "RC Raider", "Glendale", "Oceanic", "Sanchez", "Sparrow", "Patriot", "Quad", "Coastguard", "Dinghy", "Hermes", "Sabre", "Rustler", "ZR-350", "Walton", "Regina", "Comet", "BMX", "Burrito", "Camper", "Marquis", "Baggage", "Dozer", "Maverick",

"News Chopper", "Rancher", "FBI Rancher", "Virgo", "Greenwood", "Jetmax", "Hotring", "Sandking", "Blista Compact", "Police Maverick", "Boxvillde", "Benson", "Mesa", "RC Goblin", "Hotring Racer A", "Hotring Racer B", "Bloodring Banger", "Rancher", "Super GT", "Elegant", "Journey", "Bike", "Mountain Bike", "Beagle", "Cropduster",

"Stunt", "Tanker", "Roadtrain", "Nebula", "Majestic", "Buccaneer", "Shamal", "Hydra", "FCR-900", "NRG-500", "HPV1000", "Cement Truck", "Tow Truck", "Fortune", "Cadrona", "FBI Truck", "Willard", "Forklift", "Tractor", "Combine", "Feltzer", "Remington", "Slamvan", "Blade", "Freight", "Streak", "Vortex", "Vincent", "Bullet", "Clover",

"Sadler", "Firetruck", "Hustler", "Intruder", "Primo", "Cargobob", "Tampa", "Sunrise", "Merit", "Utility", "Nevada", "Yosemite", "Windsor", "Monster", "Monster", "Uranus", "Jester", "Sultan", "Stratum", "Elegy", "Raindance", "RC Tiger", "Flash", "Tahoma", "Savanna", "Bandito", "Freight Flat", "Streak Carriage", "Kart", "Mower", "Dune",

"Sweeper", "Broadway", "Tornado", "AT-400", "DFT-30", "Huntley", "Stafford", "BF-400", "News Van", "Tug", "Trailer", "Emperor", "Wayfarer", "Euros", "Hotdog", "Club", "Freight Box", "Trailer", "Andromada", "Dodo", "RC Cam", "Launch", "Police Car", "Police Car", "Police Car", "Police Ranger", "Picador", "S.W.A.T", "Alpha", "Phoenix",

"Glendale", "Sadler", "Luggage", "Luggage", "Stairs", "Boxville", "Tiller", "Utility Trailer" };

//===============================================================================================//[/pawn]

dar daca le sterg, primesc 26 de erori sau mai multe.

gRz alias k3ptutz

Link to comment
Share on other sites

MaTriX" post="118331" timestamp="1333394336"]

Le scoti din GM

El a intrebat cum,banuiesc ca nu ai idee.

Pe modurile GF cam asa ceva trebuie sa ai la OnGameModeInit

[pawn]AddStaticVehicleEx(HouseInfo..[/pawn]

Cauta pe unde ai AddStaticVehicle si cand gasesti acea linie o stergi.

gXvsYS
Link to comment
Share on other sites

nu am AddStaticVehicleEx... am doar asta la OnGameModeInit

[pawn]for(new h = 0; h < sizeof(HouseInfo); h++)

    {

    CreateVehicle(HouseInfo[h][hVec], HouseCarSpawns[h][0], HouseCarSpawns[h][1], HouseCarSpawns[h][2], HouseCarSpawns[h][3], HouseInfo[h][hVcol1], HouseInfo[h][hVcol2], 600);

    gCarLock[h+1] = 1;

    }

for(new i = 0; i < sizeof(CreatedCars); i++)

{

    CreatedCars = 253;

}[/pawn]

si am mai gasit asta

[pawn]HouseInfo[idx][hVec] = strval(arrCoords[24]);

          if(HouseInfo[idx][hVec] == 457)

{

HouseInfo[idx][hVec] = 411;

}

HouseInfo[idx][hVcol1] = strval(arrCoords[25]);

HouseInfo[idx][hVcol2] = strval(arrCoords[26]);

HouseInfo[idx][hDate] = strval(arrCoords[27]);

HouseInfo[idx][hLevel] = strval(arrCoords[28]);

printf("HouseInfo:%d Owner:%s hTakings %d hVec %d",idx,HouseInfo[idx][hOwner],HouseInfo[idx][hTakings],HouseInfo[idx][hVec]);

idx++;

}

fclose(file);

}

return 1;

}[/pawn]

gRz alias k3ptutz

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.