Thank you. Understood.
You may find something useful from math helper:
PHP Code:
RegAdminCmd("sm_dist", CmdDistance, ADMFLAG_ROOT, "Enter twice to measure distance between the origins you stand on");
RegAdminCmd("sm_distdir", CmdDistanceDir, ADMFLAG_ROOT, "Get distance between you and end point of direction you are looking at (considering collision)");
RegAdminCmd("sm_distfloor", CmdDistanceFloor, ADMFLAG_ROOT, "Get distance between you and floor below you (considering collision)");
RegAdminCmd("sm_distroof", CmdDistanceRoof, ADMFLAG_ROOT, "Get distance between you and roof above your head (considering collision)");
RegAdminCmd("sm_size", CmdSizeMe, ADMFLAG_ROOT, "Get sizes (Width, Length, Heigth) of your player");
RegAdminCmd("sm_sizee", CmdSizeTarget, ADMFLAG_ROOT, "Get sizes (Width, Length, Heigth) of the entity you are looking at");