Advertisement
Guest User

Untitled

a guest
May 23rd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.76 KB | None | 0 0
  1. #define FILTERSCRIPT
  2. #include <a_samp>
  3. public OnPlayerCommandText(playerid, cmdtext[])
  4. {
  5. if (strcmp("/ntks1", cmdtext, true, 10) == 0)
  6. {
  7. CreateObject(2678, -0.12960, 2.62330, -0.50220, 33.00000, 90.00000, 0.00000);
  8. CreateObject(2678, -0.12960, 2.63500, 0.10590, 0.00000, 90.00000, 0.00000);
  9. CreateObject(2678, -0.12960, 2.63500, 0.86000, 0.00000, 90.00000, 0.00000);
  10. CreateObject(2678, -0.12960, 3.02000, 1.40000, -33.00000, 90.00000, 0.00000);
  11. CreateObject(2678, 0.12500, -2.42970, -0.44230, 0.00000, 90.00000, 180.00000);
  12. CreateObject(2678, 0.12500, -2.42970, 0.32746, 0.00000, 90.00000, 180.00000);
  13. CreateObject(2678, 0.12500, -2.42970, 0.32746, 0.00000, 90.00000, 180.00000);
  14. CreateObject(18646, 0.04500, -0.71990, 1.06000, 0.00000, 0.00000, 0.00000);
  15. AttachObjectToVehicle(2678, 495, -0.12960, 2.62330, -0.50220, 33.00000, 90.00000, 0.00000);
  16. AttachObjectToVehicle(2678, 495, -0.12960, 2.63500, 0.10590, 0.00000, 90.00000, 0.00000);
  17. AttachObjectToVehicle(2678, 495, -0.12960, 2.63500, 0.86000, 0.00000, 90.00000, 0.00000);
  18. AttachObjectToVehicle(2678, 495, -0.12960, 3.02000, 1.40000, -33.00000, 90.00000, 0.00000);
  19. AttachObjectToVehicle(2678, 495, 0.12500, -2.42970, -0.44230, 0.00000, 90.00000, 180.00000);
  20. AttachObjectToVehicle(2678, 495, 0.12500, -2.42970, 0.32746, 0.00000, 90.00000, 180.00000);
  21. AttachObjectToVehicle(2678, 495, 0.12500, -2.42970, 0.32746, 0.00000, 90.00000, 180.00000);
  22. AttachObjectToVehicle(18646, 495, 0.04500, -0.71990, 1.06000, 0.00000, 0.00000, 0.00000);
  23. CreateVehicle(495, 0.00000, 0.00000, 0.00000, 0.00000, 0, 0, -1, 0);
  24. SetVehiclePos(495, 450.718, 5566.614, 806.183); // This is top of Chilliad, how can I make it that it will teleport the car to player that writes this command ?
  25. }
  26. return 1;
  27. }
  28. return 0;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement