This commit is contained in:
Robin Appelman 2020-05-02 17:28:36 +02:00
commit 44d05edb2a

15
README.md Normal file
View file

@ -0,0 +1,15 @@
# sm-sourcenav
Sourcemod extension for parsing .nav files
## Usage
Get the z-height at an x/y point
```sourcepawn
#include <sourcenav>
new SourceNav:sourceNav = new SourceNav("path/to/nav.nav");
float z = sourceNav.query(x, y, z_guess); // z_guess is used when there are multiple possible heights
```