Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FINDSTRARP4 = 'Ваш уровень здоровья изменен на'
- function onPrintLog(msg)
- if getServerName() ~= nil then
- if string.match(getServerName(), 'Advance RolePlay') then
- if string.match(msg, FINDSTRARP4) then
- posX, posY, posZ = getBotPos()
- if PosZ == '13,56' То делаем то что ниже (x и y пофиг какие координаты)
- printLog("PosZ")
- runCommand('!sethp 0')
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement