Advertisement
Guest User

Untitled

a guest
Jun 9th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 KB | None | 0 0
  1. script_author('Fyger')
  2. script_name('ARZ Binder')
  3. script_version("1.4")
  4. local vk = require 'vkeys'
  5.  
  6. function _()
  7. (""):†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()():†()
  8. end
  9.  
  10. function main()
  11. while not isSampAvailable do wait(100) end
  12. sampAddChatMessage('{01A0E9}[ARZ Binder] {ffffff} Скрипт был успешно загружен!', -1)
  13. sampAddChatMessage('{01A0E9}[ARZ Binder] {ffffff} Автор: {01A0E9} Fyger!', -1)
  14. sampAddChatMessage('{01A0E9}[ARZ Binder] {ffffff} Что бы узнать команды пропиши /cmd', -1)
  15. sampRegisterChatCommand("cmd", kapacb)
  16. while true do
  17. wait(0)
  18. if wasKeyPressed(vk.VK_1) and isKeyDown(vk.VK_MENU) and not sampIsChatInputActive() then
  19. local veh, ped = storeClosestEntities(PLAYER_PED)
  20. local _, id = sampGetPlayerIdByCharHandle(ped)
  21. if _ then
  22. sampSendChat('/showpass '..id)
  23. end
  24. end
  25. if wasKeyPressed(vk.VK_2) and isKeyDown(vk.VK_MENU) and not sampIsChatInputActive() then
  26. local veh, ped = storeClosestEntities(PLAYER_PED)
  27. local _, id = sampGetPlayerIdByCharHandle(ped)
  28. if _ then
  29. sampSendChat('/trade '..id)
  30. end
  31. end
  32. if testCheat("eda") then
  33. sampSendChat("/eat")
  34.  
  35. end
  36.  
  37. if testCheat("arm") then
  38. sampSendChat("/armour")
  39. end
  40.  
  41. if testCheat("mask") then
  42. sampSendChat("/mask")
  43. end
  44.  
  45. if testCheat("smk") then
  46. sampSendChat("/smoke")
  47. end
  48.  
  49. if testCheat("ez") then
  50. sampSendChat("/time")
  51. end
  52.  
  53. if testCheat("Q") and not isCharInAnyCar(PLAYER_PED) then
  54. sampSendChat(" ")
  55. end
  56.  
  57. if testCheat("l") and not sampIsDialogActive then
  58. sampSendChat("/lock")
  59. end
  60.  
  61. if testCheat("jl") and not sampIsDialogActive then
  62. sampSendChat("/jlock")
  63. end
  64.  
  65. if testCheat("can") then
  66. sampSendChat("/fillcar")
  67. end
  68.  
  69. if testCheat("recar") then
  70. sampSendChat("/repcar")
  71. end
  72.  
  73. if testCheat("cars") then
  74. sampSendChat("/cars")
  75. end
  76.  
  77. if wasKeyPressed(vk.VK_NUMPAD1) and isKeyDown(vk.VK_MENU) and not sampIsChatInputActive() then
  78. sampSendChat("/usedrugs 1")
  79. end
  80.  
  81. if wasKeyPressed(vk.VK_NUMPAD2) and isKeyDown(vk.VK_MENU) and not sampIsChatInputActive() then
  82. sampSendChat("/usedrugs 2")
  83. end
  84.  
  85. if wasKeyPressed(vk.VK_NUMPAD3) and isKeyDown(vk.VK_MENU) and not sampIsChatInputActive() then
  86. sampSendChat("/usedrugs 3")
  87. end
  88.  
  89. if testCheat("heal") then
  90. sampSendChat("/usemed")
  91. end
  92. end
  93. end
  94. function kapacb()
  95. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} ALT+1 - показ паспорта ближайшему игроку", -1)
  96. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} ALT+2 - трейд ближайшему игроку", -1)
  97. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} EDA (как чит-код) - открывает диалог с едой", -1)
  98. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} ARM (как чит-код) - надевает бронежилет", -1)
  99. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} MASK (как чит-код) - надевает маску", -1)
  100. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} SMK (как чит-код) - курение сигареты", -1)
  101. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} EZ (как чит-код) - смотрит на часы", -1)
  102. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} Q (как чит-код) - сбивает анимацию пустым текстом", -1)
  103. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} L (как чит-код) - открывает/закрываетзакрывает авто", -1)
  104. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} JL(как чит-код) - открывает/закрывает аренду", -1)
  105. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} CAN (как чит-код) - использует канистру", -1)
  106. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} RECAR (как чит-код) - использует набор для починки", -1)
  107. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} CARS (как чит-код) - открывает диалог с авто", -1)
  108. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} ALT+1+2+3 (нумпад) - использует наркотики (1-3 шт)", -1)
  109. sampAddChatMessage("{01A0E9}[ARZ Binder] {ffffff} HEAL (как чит-код) - использует аптечку", -1)
  110. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement