• How to count lenght between 2 positions?
    2 replies, posted
[code] local Lenght = ent:GetPos() - self:GetPos() [/code] ends to vector. How to make it a single float? something like local Lenght = vsize(ent:GetPos() - self:GetPos()) [highlight](User was banned for this post ("Wrong section" - mahalis))[/highlight]
Do this instead: [lua] local Length = ent:GetPos():Distance( self:GetPos() ) [/lua]
-snip
Sorry, you need to Log In to post a reply to this thread.