Sign in to follow this  
biostunt

Finding ground Z

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Posted (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 by MrPancakers

Share this post


Link to post
Share on other sites
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 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.