Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. FINDSTRARP4 = 'Ваш уровень здоровья изменен на'
  2.  
  3. function onPrintLog(msg)
  4. if getServerName() ~= nil then
  5. if string.match(getServerName(), 'Advance RolePlay') then
  6. if string.match(msg, FINDSTRARP4) then
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14. posX, posY, posZ = getBotPos()
  15. if PosZ == '13,56' То делаем то что ниже (x и y пофиг какие координаты)
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22. printLog("PosZ")
  23. runCommand('!sethp 0')
  24.  
  25.  
  26.  
  27.  
  28. end
  29. end
  30. end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement