Hey guys ,
I'm trying to do my first script today and im getting this error
:/ any one can give me a help ?
Hey guys ,
I'm trying to do my first script today and im getting this error
:/ any one can give me a help ?
Posting your code would help. Also you forgot a )
hey thanks for anwsers yes its was an () missing , but know my probleme is i got menu no error but when i wanna Harass or combo only auto-hit
i will work more on it
... ^^ the error was telling you you are missing a )... XD anyway add me on skype i'll help you maybe a little ^^
give me you'r skype in pm
Still src would be nice that we can give you some tips
Okey it's not finish but well im working or trying to worke better saying.. at the combo /Harass part..
my probleme is when i space bar , he only auto hit enemy..im sur i forget anything from any part xD but well first script in my life xD
probleme 2 its same like 1.. Press C for harass last hit cs perfect, but only auto hit enemy dont cast spell i think same probleme thant 1
https://raw.githubus...aster/jhin2.lua
PS: Don't judge me its my first time..
Not sure if Ignite is still returned by Inspired.lua
WPred in E logic
Difference between harass/combo?
Ignite is outside OnTick
What is CastE / CastW function good for?
as i can remember its not returned by inspired ( ignite ) add this for ignite
local Ignite = (GetCastName(GetMyHero(),SUMMONER_1):lower():find("summonerdot") and SUMMONER_1 or (GetCastName(GetMyHero(),SUMMONER_2):lower():find("summonerdot") and SUMMONER_2 or nil))
you made a cast functions and did not use it,
in cast functions , if you use Pred = GetPredictionForPlayer(GetOrigin(myHero),unit,GetMoveSpeed(unit),3000,999999,WRange,100,true,true) then it shoult be Pred.HitChance == 1 not wPred.HitChance == 1
here http://pastebin.com/5U6N6Lr3 ( dont pay attention too much could i miss something though)
Thanks for help ^^ not so easy to do my first xD i do the change now i will try it^^
hmm combo and harass continue to only Auto hit ^^ if any one can give me a litlle help for the part of combo + harass^^
https://raw.githubus...aster/jhin2.lua
Your spellstats check will not get you anywhere CanUseSpell(myHero,_W) will always return a number and so the statement will always pass.
Your prediction line
local WPred = GetPredictionForPlayer(GetOrigin(myHero),unit,GetMoveSpeed(unit),3000,999999,WRange,100,true,true)
has a buch of fails. Check again what each parameter stands for.
0 members, 0 guests, 0 anonymous users