Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. local keys = require("vkeys")
  2. local sampev = require "lib.samp.events"
  3.  
  4. function main()
  5. if not isSampLoaded() or not isSampfuncsLoaded() then return end
  6. while not isSampAvailable() do wait(100) end
  7. sampRegisterChatCommand("hp", cmd_hp)
  8. sampRegisterChatCommand("eda", cmd_eda)
  9. wait(-1)
  10. end
  11. function cmd_hp()
  12. sampSendClickTextdraw(655)
  13. setVirtualKeyDown(13, true)
  14. setVirtualKeyDown(13, false)
  15. end
  16. function cmd_eda()
  17. sampSendClickTextdraw(657)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement