Advertisement
Guest User

Untitled

a guest
Apr 20th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.13 KB | None | 0 0
  1. #define MAX_AUTOHAUS_SHOWCAR 30
  2.  
  3. //enum ((mit 30 Showcars))
  4. new AutohausVehicle[MAX_AUTOHAUS_SHOWCAR][Autohaus] =
  5. {
  6. {"Coutt and Schutz","Blista Compact",496,4600,2146.9971,-1138.6093,25.1960,269.0521,2160.9299,-1144.2604,24.4969,90.0000},
  7. {"Coutt and Schutz","Clover",542,7500,2147.3137,-1143.3256,24.7079,267.5366,2160.9878,-1148.4879,24.0661,90.0000},
  8. {"Coutt and Schutz","Voodoo",412,8100,2147.0811,-1148.4261,24.2402,267.8380,2161.2188,-1152.9200,23.6398,90.0000},
  9. {"Coutt and Schutz","Previon",436,12500,2147.1414,-1153.0415,23.6915,269.0399,2160.9299,-1144.2604,24.4969,90.0000},
  10. {"Coutt and Schutz","Glendale",466,17000,2146.7107,-1157.4932,23.5862,269.1495,2160.9878,-1148.4879,24.0661,90.0000},
  11. {"Coutt and Schutz","Oceanic",467,17500,2146.6123,-1161.8762,23.5622,268.8606,2161.2188,-1152.9200,23.6398,90.0000},
  12. {"Coutt and Schutz","Sadler",543,19650,2146.7766,-1166.5012,23.6362,269.5481,2160.9299,-1144.2604,24.4969,90.0000},
  13. {"Stage 25","Sentinel",405,45000,783.6198,-1379.8333,13.5386,90.0000,746.1626,-1333.4465,13.2483,180.0000},
  14. {"Stage 25","Esperanto",419,47000,783.5139,-1375.9198,13.4075,90.0000,749.7842,-1333.3184,13.2483,180.0000},
  15. {"Stage 25","Premier",426,50000,783.2833,-1372.1083,13.3106,90.0000,753.3591,-1333.1586,13.2484,180.0000},
  16. {"Stage 25","Virgo",491,52500,783.2805,-1368.1066,13.2956,90.0000,757.0778,-1333.2703,13.2484,180.0000},
  17. {"Stage 25","Mesa",500,55000,783.1028,-1364.5503,13.6433,90.0000,746.1626,-1333.4465,13.2483,180.0000},
  18. {"Stage 25","Elegant",507,90000,783.6249,-1360.3887,13.3644,90.0000,749.7842,-1333.3184,13.2483,180.0000},
  19. {"Stage 25","Nebula",516,100000,783.5798,-1355.7783,13.3735,90.0000,753.3591,-1333.1586,13.2484,180.0000},
  20. {"Stage 25","Majestic",517,120000,783.8719,-1351.7120,13.4008,90.0000,757.0778,-1333.2703,13.2484,180.0000},
  21. {"Stage 25","Sultan",560,200000,783.5115,-1347.7422,13.2441,90.0000,746.1626,-1333.4465,13.2483,180.0000},
  22. {"Stage 25","Elegy",562,250000,783.5238,-1343.8221,13.1990,90.0000,749.7842,-1333.3184,13.2483,180.0000},
  23. {"Grotti","Jester",559,300000,551.5430,-1264.2410,16.8985,214.8236,565.0740,-1285.4227,16.9753,101.2027},
  24. {"Grotti","Cheetah",415,449999,548.2388,-1266.3488,17.0141,213.7959,564.2573,-1281.9921,16.9738,102.3659},
  25. {"Grotti","Bullet",541,750000,545.1346,-1268.6141,16.8702,211.7887,565.0740,-1285.4227,16.9753,101.2027},
  26. {"Grotti","Turismo",451,1250000,541.8448,-1270.6792,16.9503,211.7860,564.2573,-1281.9921,16.9738,102.3659},
  27. {"Grotti","Infernus",411,2150000,538.4941,-1272.8596,16.9693,213.7725,565.0740,-1285.4227,16.9753,101.2027},
  28. {"Square Bike","PCJ-600",461,35000,1376.1965,-1769.6545,13.1316,359.4486,1366.3766,-1763.4540,13.0979,271.1206},
  29. {"Square Bike","BF-400 ",581,45000,1374.5532,-1769.6071,13.1492,0.0009,1366.2793,-1762.0248,13.0934,270.5692},
  30. {"Square Bike","Sanchez",468,45000,1373.1957,-1769.6101,13.2279,358.9810,1366.3766,-1763.4540,13.0979,271.1206},
  31. {"Square Bike","Freeway",463,75000,1371.9177,-1769.6588,13.0990,2.1342,1366.2793,-1762.0248,13.0934,270.5692},
  32. {"Square Bike","FRC-900",521,150000,1370.1794,-1769.4869,13.1280,356.5206,1366.3766,-1763.4540,13.0979,271.1206},
  33. {"Air Chicken","Dodo",593,250000,1606.6327,1188.5620,11.2661,359.8283,1618.0581,1244.1431,11.2713,90.5311},
  34. {"Air Chicken","Beagle",511,500000,1588.3231,1188.8167,12.1826,359.0641,1617.0962,1262.7148,12.1886,89.3654},
  35. {"Air Chicken","Nevada",553,12500000,1567.8534,1169.7173,12.1418,356.0365,1620.1649,1288.2451,12.1451,90.4465}
  36. };
  37.  
  38. //Enter vehicle
  39. if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
  40. for(new i = 0; i < sizeof(AutohausVehicle);i++)
  41. {
  42. if(vehicleid == ShowCars[i])
  43. {
  44. if(PlayerInfo[playerid][pLevel] < 2)
  45. {
  46. SendClientMessage(playerid,COLOR_GREY,"**TEXT**");
  47. return RemovePlayerFromVehicle(playerid);
  48. }
  49. format(string,sizeof(string),"Möchten Sie das Fahrzeug: {FF8200} %s\n{FFFFFF}Für {FF8200} %d$ {FFFFFF}kaufen?",VehicleName[GetVehicleModel(GetPlayerVehicleID(i))-400],AutohausVehicle[i][AhPreis]);
  50. ShowPlayerDialog(playerid,DIALOG_AUTOHAUS_KAUF,DIALOG_STYLE_MSGBOX,"{FF8200}Autohaus{FFFFFF}",string,"Kaufen","Abbruch");
  51. return true;
  52. }
  53. }
  54. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement