biostunt Posted August 21, 2019 Posted August 21, 2019 So, rage mp has method client-side method: mp.game.gameplay.getGroundZFor3dCoord(x, y, z, groundZ, unk); But i want to use the same function on a server-side. Do u know any function which can help me?
MrPancakers Posted August 21, 2019 Posted August 21, 2019 (edited) Why can't you use it clientside and send the data serverside (if you need it there)? There isn't a serverside function. Edited August 21, 2019 by MrPancakers
biostunt Posted August 22, 2019 Author Posted August 22, 2019 14 часа назад, MrPancakers сказал: Why can't you use it clientside and send the data serverside (if you need it there)? There isn't a serverside function. I want to link marker with ground when server is starting, that is why i can't use client side functions
MrPancakers Posted August 23, 2019 Posted August 23, 2019 You can't get the ground Z if the area isn't loaded to the player which is why it isn't a serverside function.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now