A

    Used to create Colors for draws.

    Color

    FillRect(0, 0, 500, 500, ARGB(255, 255, 255, 255)) -- will draw a white square

    Attacks an Object.

    local target = GetGameTarget() -- left upper corner target
    if target ~= nil then -- check if target does exist
    AttackUnit(target) -- send actual attack
    end

    B

  •  BlockCast()
  • Can only be called in SpellCast callback, prevents the spell from being cast.

  •  BlockInput(boolean)
  • Toggles all user input.

  •  BlockOrder()
  • Can only be called in IssueOrder callback, prevents the order from being executed.

  •  BuyItem(id)
  • Buys an item if player has enough gold.

    C

  •  CanUseSpell(unit,iSpell)
  • returns a Spell State ID.

    Number

  •  CastEmote(iEmote)
  • Casts an Emote

  •  CastSkillShot(iSpell,x,y,z)
  • Casts a skillshot.

  •  CastSkillShot(iSpell, Vector3D)
  • Casts a skillshot.

  •  CastSkillShot2(iSpell,x,y,z)
  • Releases a charged type spell.

  •  CastSkillShot2(iSpell,Vector3D)
  • Releases a charged type spell.

  •  CastSkillShot3(iSpell,Vector3D,Vector3D)
  • Casts a drag-type spell.

  •  CastSpell(iSpell)
  • Casts a selfcast-type spell.

  •  CastTargetSpell(target, iSpell)
  • Casts a target type spell.

  •  CreateSpriteFromFile(path)
  • Creates a sprite from a file and returns it's id. It'll return 0 if the file does not exist or could not be loaded.

    Number

    D

  •  DrawCircle(x,y,z,radius,width,quality,color)
  • Draws a 3 dimensional circle.

  •  DrawCircle(Vector3D,radius,width,quality,color)
  • Draws a 3 dimensional circle.

  •  DrawCircleMinimap(x,y,z,radius,width,quality,color)
  • Draws a 2 dimensional circle on the minimap.

  •  DrawCircleMinimap(Vector3D,radius,width,quality,color)
  • Draws a 2 dimensional circle on the minimap.

  •  DrawDmgOverHpBar(unit,health,ADDmg,APDmg,Color)
  • Draws a damage line onto the hp bar.

  •  DrawLine(x1,y1,x2,y2,width,color)
  • Draws a 2 dimensional line.

  •  DrawSprite(spriteID,screenX,screenY,fileX,fileY,width,height,color)
  • Draws a Sprite, by ID.

  •  DrawText(string,size,x,y,Color)
  • Draws a Text.

  •  DrawTextSmall(string,x,y,Color)
  • Draws a small Text.

    F

  •  FillRect(x,y,width,height,Color)
  • Draws a 2 dimensional rectangle.

    G

  •  GetArmor(Object)
  •  GetArmorPenFlat(Object)
  •  GetArmorPenPercent(Object)
  •  GetAttackSpeed(Object)
  •  GetBaseArmor(Object)
  •  GetBaseAttackSpeed(Object)
  •  GetBaseDamage(Object)
  •  GetBonusAP(Object)
  •  GetBonusArmorPenPercent(Object)
  •  GetBonusDmg(Object)
  •  GetBuffCount(Object,index)
  •  GetBuffData(Object,buffname)
  •  GetBuffExpireTime(Object,index)
  •  GetBuffName(Object,index)
  •  GetBuffStacks(Object,index)
  •  GetBuffStartTime(Object,index)
  •  GetBuffType(Object,index)
  •  GetBuffTypeList()
  • buffType

  •  GetBuffTypeToString(buffType)
  • String

  •  GetCastCooldown(Object,iSpell,level)
  •  GetCastLevel(Object,iSpell)
  •  GetCastMana(Object,iSpell,level)
  •  GetCastName(Object,iSpell)
  •  GetCastRange(Object,iSpell)
  •  GetCDR(Object)
  •  GetCritChance(Object)
  •  GetCurrentGold(Object)
  •  GetCurrentHP(Object)
  •  GetCurrentMana(Object)
  •  GetCurrentTarget()
  •  GetCursorPos()
  •  GetDamagePrediction(Object,timeDelta)
  •  GetDmgShield(Object)
  •  GetExperience(Object)
  •  GetGameTarget()
  •  GetGameTimer()
  •  GetHitBox(Object)
  •  GetHPBarPos(Object)
  •  GetHPRegen(Object)
  •  GetItemAmmo(Object,iSpell)
  •  GetItemID(Object,iSpell)
  •  GetItemSlot(Object,itemID)
  •  GetItemStack(Object,iSpell)
  •  GetLatency()
  •  GetLevel(Object)
  •  GetLevelPoints(Object)
  •  GetLifeSteal(Object)
  •  GetMagicPenFlat(Object)
  •  GetMagicPenPercent(Object)
  •  GetMagicResist(Object)
  •  GetMagicShield(Object)
  •  GetMapID()
  •  GetMaxHP(Object)
  •  GetMaxMana(Object)
  •  GetMousePos()
  •  GetMoveSpeed(Object)
  •  GetMPRegen(Object)
  •  GetMyHero()
  • returns myHero pointer.

    Object

  •  GetNetworkID(Object)
  •  GetObjByNetID(nID)
  • Object

  •  GetObjectBaseName(Object)
  •  GetObjectModelName(Object)
  •  GetObjectName(Object)
  •  GetObjectOwner(Object)
  • Object

  •  GetObjectSpellEndPos(Object)
  •  GetObjectSpellName(Object)
  •  GetObjectSpellOwner(Object)
  • Object

  •  GetObjectSpellPlacementPos(Object)
  •  GetObjectSpellStartPos(Object)
  •  GetObjectSpellTarget(Object)
  • Object

  •  GetObjectType(Object)
  •  GetOrigin(Object)
  •  GetPredictionForPlayer(Vector3D,Object,moveSpeed,speed,delay,range,mColl,addHitBox)
  •  GetRange(Object)
  •  GetResolution()
  •  GetSpellVamp(Object)
  •  GetTeam(Object)
  •  GetTickCount()
  •  GetTotalEarnedGold(Object)
  •  GotBuff(Object,buffname)

    H

  •  HeroSkinChanger(Object, skinID)
  •  HoldPosition()

    I

    Enumerations for emotes.

    Number

    EMOTE_DANCE = 0
    EMOTE_TAUNT = 1
    EMOTE_LAUGH = 2
    EMOTE_JOKE = 3
    EMOTE_TOGGLE = 4
  •  IsCampusUp(Object)
  • Boolean

  •  IsChatOpened()
  • Boolean

  •  IsDead(Object)
  •  IsGameOnTop()
  •  IsGoSHumanizerActive()
  •  IsImmune(Object,Object)
  •  IsObjectAlive(Object)
  • Enumerations for spell&item slots.

    Number

    _Q = 0
    _W = 1
    _E = 2
    _R = 3
    SUMMONER_1 = 4
    SUMMONER_2 = 5

    ITEM_1 = 6
    ITEM_2 = 7
    ITEM_3 = 8
    ITEM_4 = 9
    ITEM_5 = 10
    ITEM_6 = 11
    ITEM_7 = 12
    RECALL = 13
  •  IsRecalling(Object)
  •  IsTargetable(Object)
  •  IsVisible(Object)

    K

  •  KeyIsDown(keyCode)

    L

  •  LevelSpell(iSpell)

    M

    Enumeration for the IDs returned by GetMapID

    Number

    CRYSTAL_SCAR = 8
    TWISTED_TREELINE = 10
    SUMMONERS_RIFT = 11
    HOWLING_ABYSS = 12
  •  MessageBox(typeID, message)
  •  ModelChanger(Object, skinID, modelName)
  •  MoveToXYZ(x,y,z)
  •  MoveToXYZ(Vector3D)

    P

  •  PrintChat(string)

    R

  •  ReleaseSprite(spriteID)

    S

    The states returned by CanUseSpell

    Number

    READY = 0
    NOTAVAILABLE = 4
    READYNONCAST = 8
    NOTLEARNED = 12
    ONCOOLDOWN = 32
    NOMANA= 64

    W

  •  WorldToMinimap(Vector3D)
  •  WorldToScreen(flag,Vector3D)