Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 12/29/2017 in all areas

  1. 2 points
    for gmnotice you need vector exes, and here is how to add gmnotice & track lvl find script/calculate/AttrCalculate.lua find:- function BsAttrUpgrade( role ) add this if lv == NEW_LV_LIMIT then GMNotice('Congratulations to '..GetChaDefaultName(role)..' for reaching the max level.'); end below local lv = GetChaAttr ( role , ATTR_LV ) where NEW_LV_LIMIT is the variable that equal to the lv you want to track/maxlv. we will say your server's maxlv is lv100 so NEW_LV_LIMIT will be:- NEW_LV_LIMIT = 100 NEW_LV_LIMIT = 100 add it wherever you want. or you can add it into Variable.lua
  2. 1 point
    you need to hex game.exe which in client side
  3. 1 point
    local item = GetChaItem(role, 2, 1) local item_type = GetItemType(item) if item_type == 59 then Notice("Во втором слоте есть фея.") else Notice("Во втором слоте нет феи.") end @NMS3RR, проверять ID каждой феи не очень рационально. У всех фей есть общий тип предмета - 59, можно проверять его.
  4. 1 point
    Не нужно ставить проверку в каждый навык. В functions.lua есть функция is_friend(cha1, cha2), которая возвращает 1, если персонажи друзья, т.е. не могут атаковать друг друга, и 0, если цели - враги и соответственно могут атаковать друг друга.
  • Newsletter

    Want to keep up to date with all our latest news and information?
    Sign Up
×
×
  • Create New...