OnTick(function(myHero) local minipos = WorldToMinimap(GetOrigin(myHero)) PrintChat("x:"..minipos.x.." y:"..minipos.y) end)
i use this code, but x, y always 0
Best Answer Feretorix , 28 October 2015 - 02:22
Let me check this real quick.
Needs fixing, wait a second for a GoS.dll update.
OnDrawMinimap(function() local myHero = GetMyHero(); local myorigin = GetOrigin(myHero); minipos = WorldToMinimap(myorigin); DrawText("me!",12,minipos.x,minipos.y,ARGB(255,255,255,255)); end)
Edit: It's fixed now, enjoy!
Go to the full post »OnTick(function(myHero) local minipos = WorldToMinimap(GetOrigin(myHero)) PrintChat("x:"..minipos.x.." y:"..minipos.y) end)
i use this code, but x, y always 0
OnDrawMinimap(function()
Use this instead of OnTick(function(myHero).
OnDrawMinimap(function()
Use this instead of OnTick(function(myHero).
same, also tried OnDraw
Let me check this real quick.
Needs fixing, wait a second for a GoS.dll update.
OnDrawMinimap(function() local myHero = GetMyHero(); local myorigin = GetOrigin(myHero); minipos = WorldToMinimap(myorigin); DrawText("me!",12,minipos.x,minipos.y,ARGB(255,255,255,255)); end)
Edit: It's fixed now, enjoy!
Let me check this real quick.
Needs fixing, wait a second for a GoS.dll update.OnDrawMinimap(function() local myHero = GetMyHero(); local myorigin = GetOrigin(myHero); minipos = WorldToMinimap(myorigin); DrawText("me!",12,minipos.x,minipos.y,ARGB(255,255,255,255)); end)Edit: It's fixed now, enjoy!
Let me check this real quick.
Needs fixing, wait a second for a GoS.dll update.
OnDrawMinimap(function() local myHero = GetMyHero(); local myorigin = GetOrigin(myHero); minipos = WorldToMinimap(myorigin); DrawText("me!",12,minipos.x,minipos.y,ARGB(255,255,255,255)); end)Edit: It's fixed now, enjoy!
thx, next question
how can i drawCircle on minimap instead? Keppo
thx, next question
how can i drawCircle on minimap instead? Keppo
change DrawText to DrawCircle :3
im serious, try to DrawCircle on minipos
ok, tell me how?
where can i get the xyz?
minipos = WorldToMinimap(GetOrigin(GetMyHero()))
this should return xyz
WorldToMinimap only return xy
WorldToMinimap only return xy
yeah i see keppo, you need to make some magic function to draw a circle by drawing a text
0 members, 1 guests, 0 anonymous users