Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion - CalculateZ #9

Open
Serray opened this issue Dec 5, 2018 · 4 comments
Open

Suggestion - CalculateZ #9

Serray opened this issue Dec 5, 2018 · 4 comments

Comments

@Serray
Copy link

Serray commented Dec 5, 2018

The old SAMP API has a function that calculates the map height at specific X, Y, coordinates.
I would also like to see this function included in the UDF, as the SAMP API function doesnt work properly.
(Everything about a certain height is alway 20)

@Serray Serray changed the title CalculateZ Suggestion - CalculateZ Dec 5, 2018
@DatMayo
Copy link

DatMayo commented Dec 5, 2018

Do you mean a function like this?

@Serray
Copy link
Author

Serray commented Dec 5, 2018

Yes, If it works properly. Will try later.

@DatMayo
Copy link

DatMayo commented Dec 5, 2018

This is for SAMP Servers, not Keybinders ;)
It's "difficult", because you need a heigth map (if you want to be excact) if you only want to know the Z value (without considering i.e. buildings) you can use GetPlayerPos()

@Serray
Copy link
Author

Serray commented Dec 5, 2018

The Problem is, i want to calculate the Z Position anywhere on the map. Not at my position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants