Download: Inspired.lua
API is hosted >here<
This thread is alone for feedback and suggestions.
Best Answer SxcS , 30 July 2016 - 06:15
maddamvp, on 30 Jul 2016 - 6:03 PM, said:
Is the download link broken, I only see a blank page? Am i doing something wrong?
its inbuilt in gos, no need to download
Go to the full post »Download: Inspired.lua
API is hosted >here<
This thread is alone for feedback and suggestions.
dat GetDistance.....
You just told me these code is not effectively Keppo
something like local is faster than global?
Inspired, on 18 Jul 2015 - 06:08 AM, said:
less table accesses, this one is the fast one lol
function GetDistance(p1, p2) p2 = p2 or myHero p1 = GetOrigin(p1) p2 = GetOrigin(p2) if p1 and p2 then return math.sqrt((p1.x - p2.x) ^ 2 + ((p1.z or p1.y) - (p2.z or p2.y)) ^ 2) else return nil end end
Where is the key point? I still don't get it.
I thought is GetOrigin yesterday....
ilovesona, on 18 Jul 2015 - 06:58 AM, said:
function GetDistance(p1, p2) p2 = p2 or myHero p1 = GetOrigin(p1) p2 = GetOrigin(p2) if p1 and p2 then return math.sqrt((p1.x - p2.x) ^ 2 + ((p1.z or p1.y) - (p2.z or p2.y)) ^ 2) else return nil end endWhere is the key point? I still don't get it.
I thought is GetOrigin yesterday....
GetOrigin gets the location of an Object, not the distance to it.
Thanks
WP Inspired!
very useful library, but CountMinions() ? XD
Hello,
Just a little question, the scripts you post how can i use it ?
I need to replace in the file :
it's supposed to look like this after ?
LAsDePique, on 24 Jul 2015 - 4:29 PM, said:
Hello,
Just a little question, the scripts you post how can i use it ?
I need to replace in the file :Spoiler
it's supposed to look like this after ?
Spoiler
HandsomeTalos, on 24 Jul 2015 - 6:13 PM, said:
ye i have the same question
0 members, 2 guests, 0 anonymous users