Jump to content

Search the Community

Showing results for tags 'have a error no see the cloack'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Russian Section
    • Новости и объявления
    • Пиратия: Документация
    • Пиратия: Релизы
    • Пиратия: Разработка
    • Пиратия: Web
    • Пиратия: Помощь
    • Совместные проекты / набор команды
    • Доска объявлений
    • Программирование
    • Оффтопик
    • Корзина
  • English Section
    • News & Announcements
    • Guides
    • Releases
    • Development
    • Web
    • Questions & Help
    • Shared Projects / Team search
    • Paid services & Requests
    • Programming
    • Offtopic
    • Recycle bin
  • Portuguese Section
    • Dúvidas & Ajuda
  • Spanish Section
    • Preguntas y Ayuda
  • Servers
    • Russian servers
    • English servers

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 1 result

  1. function custom_cha_timer(role, freq, time) local cha = TurnToCha ( role ) local cha_type = GetChaTypeID ( cha ) local Cape_bg = GetChaItem ( role , 2 , 4 ) local Cape_id = GetItemID ( Cape_bg ) if Cape_id == 7990 and cha_type == 1 then local statelv = 1 local statetime = 3600 AddState ( role , role , STATE_CAPE1 , statelv , statetime ) elseif Cape_id == 7990 and cha_type == 2 then local statelv = 1 local statetime = 3600 AddState ( role , role , STATE_CAPE2 , statelv , statetime ) elseif Cape_id == 7990 and cha_type == 3 then local statelv = 1 local statetime = 3600 AddState ( role , role , STATE_CAPE3 , statelv , statetime ) elseif Cape_id == 7990 and cha_type == 4 then local statelv = 1 local statetime = 3600 AddState ( role , role , STATE_CAPE4 , statelv , statetime ) else local statelv_cape1 = GetChaStateLv ( role , STATE_CAPE1 ) if statelv_cape1~=0 then RemoveState ( role , STATE_CAPE1 ) end local statelv_cape2 = GetChaStateLv ( role , STATE_CAPE2 ) if statelv_cape2~=0 then RemoveState ( role , STATE_CAPE2 ) end local statelv_cape3 = GetChaStateLv ( role , STATE_CAPE3 ) if statelv_cape3~=0 then RemoveState ( role , STATE_CAPE3 ) end local statelv_cape4 = GetChaStateLv ( role , STATE_CAPE4 ) if statelv_cape4~=0 then RemoveState ( role , STATE_CAPE4 ) end end end function cloak.lua(filename,text) local file = GetResPath('script/extension/database/cloak/'..filename..".txt") if(fileexists(file) ~= false) then LogFile = io.open(file,'a') LogFile:write("["..os.date().."]/t"..text.."/n") LogFile:close() end end what the fuking error ? need add hooks or what ?
×
×
  • Create New...