/ [MAPPING] -> Fastnachtswagen DFT-30

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

    Es gibt Neuigkeiten! Ab sofort könnt ihr dem Donators Club auf Lebenszeit beitreten.
    Weitere Infos im Thema Donator's Club ab heute wieder verfügbar!

    • / [MAPPING] -> Fastnachtswagen DFT-30

      Karneval hat begonnen, ich präsentiere:
      Nicht von mir, sondern gefunden ;)








      PAWN Code:

      Quellcode

      1. //top of script
      2. new dft30ex[MAX_PLAYERS][24];
      3. //OnPlayerCommandText
      4. if (strcmp("/wagen", cmdtext, true, 10) == 0)
      5. {
      6. if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 578) return SendClientMessage(playerid,0x00FF00AA,"Use only a DFT-30");
      7. if(dft30ex[playerid][23]==0)
      8. {
      9. // Maxtorcd55 eXa-team
      10. dft30ex[playerid][0] = CreateObject(2395,1.3730000,2.4650000,19.6170000,0.0000000,0.0000000,180.0000000); //object(cj_sports_wall) (1)
      11. dft30ex[playerid][1] = CreateObject(3093,-1.8290000,1.0170000,20.9560000,0.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (1)
      12. dft30ex[playerid][2] = CreateObject(3093,-1.8290000,-0.3800000,19.5850000,90.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (2)
      13. dft30ex[playerid][3] = CreateObject(3093,-1.8300000,-5.8080000,20.9560000,0.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (3)
      14. dft30ex[playerid][4] = CreateObject(3093,-1.8280000,-3.1770000,19.5850000,90.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (4)
      15. dft30ex[playerid][5] = CreateObject(3093,1.8200000,2.3940000,20.9560000,0.0000000,0.0000000,180.0000000); //object(cuntgirldoor) (5)
      16. dft30ex[playerid][6] = CreateObject(2395,-1.3580000,-5.8810000,19.6290000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (5)
      17. dft30ex[playerid][7] = CreateObject(3093,1.8130000,-3.1820000,19.5850000,90.0000000,0.0000000,180.0000000); //object(cuntgirldoor) (7)
      18. dft30ex[playerid][8] = CreateObject(3093,1.8330000,-4.4290000,20.9560000,0.0000000,0.0000000,179.9950000); //object(cuntgirldoor) (8)
      19. dft30ex[playerid][9] = CreateObject(3093,1.8190000,-0.4340000,20.9560000,0.0000000,0.0000000,179.9950000); //object(cuntgirldoor) (9)
      20. dft30ex[playerid][10] = CreateObject(2395,1.3900000,-5.6670000,19.5830000,0.0000000,0.0000000,180.0000000); //object(cj_sports_wall) (6)
      21. dft30ex[playerid][11] = CreateObject(2395,-1.3700000,2.2710000,19.5830000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (7)
      22. dft30ex[playerid][12] = CreateObject(2395,-1.3850000,-0.3960000,19.7820000,270.0000000,180.0000000,180.0000000); //object(cj_sports_wall) (8)
      23. dft30ex[playerid][13] = CreateObject(2395,-1.3850000,-3.1300000,19.7820000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (9)
      24. dft30ex[playerid][14] = CreateObject(2395,-1.3850000,-5.8690000,19.7820000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (10)
      25. dft30ex[playerid][15] = CreateObject(2395,-1.3850000,-0.3460000,22.4160000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (11)
      26. dft30ex[playerid][16] = CreateObject(2395,-1.3850000,-3.0830000,22.4160000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (12)
      27. dft30ex[playerid][17] = CreateObject(2395,-1.3850000,-5.8220000,22.4160000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (13)
      28. dft30ex[playerid][18] = CreateObject(2395,-1.3850000,2.4240000,22.2030000,90.0000000,180.0000000,180.0000000); //object(cj_sports_wall) (14)
      29. dft30ex[playerid][19] = CreateObject(2395,-1.3850000,-0.3130000,22.2030000,90.0000000,180.0000000,179.9950000); //object(cj_sports_wall) (15)
      30. dft30ex[playerid][20] = CreateObject(2395,-1.3850000,-3.0520000,22.2030000,90.0000000,180.0000000,179.9950000); //object(cj_sports_wall) (16)
      31. dft30ex[playerid][21] = CreateObject(1656,2.2480000,0.3930000,19.2800000,0.0000000,0.0000000,270.0000000); //object(esc_step) (1)
      32. dft30ex[playerid][22] = CreateObject(1656,1.8920000,0.3930000,19.5090000,0.0000000,0.0000000,270.0000000); //object(esc_step) (2)
      33. dft30ex[playerid][23] = 1;
      34. for(new i; i<22+1; i++)
      35. {
      36. new Float:x, Float:y, Float:z;
      37. GetObjectPos(dft30ex[playerid][i], x, y, z);
      38. new Float:RotX,Float:RotY,Float:RotZ;
      39. GetObjectRot(dft30ex[playerid][i], RotX, RotY, RotZ);
      40. new vehicleid = GetPlayerVehicleID(playerid);
      41. AttachObjectToVehicle(dft30ex[playerid][i], vehicleid, x, y, z-20, RotX,RotY, RotZ);
      42. }
      43. }
      44. else
      45. {
      46. dft30ex[playerid][23] = 0;
      47. for(new i; i<22+1; i++)
      48. {
      49. DestroyObject(dft30ex[playerid][i]);
      50. }
      51. }
      52. return 1;
      53. }
      Alles anzeigen


      (c) maxtorcd55