FastDistance
Calculates the distance in C land quicker than it can be done in Lua.
FastDistance(x1, y1, z1, x2, y2, z2) : distance
Example
Checks the distance between the player and target.
local x1, y1, z1 = ObjectPosition('player')local x2, y2, z2 = ObjectPosition('target')local dist = FastDistance(x1, y1, z1, x2, y2, z2)