Jump to content

Set the height of a polygon colshape?


Tails

Recommended Posts

  • Moderators

no, not directly.

But you can use:

"onClientRender" + https://wiki.multitheftauto.com/wiki/Is ... inColShape + getElementPosition + if Z < 300 then

(+ getTickCount() if you want to use less cpu and memory)

Reset player?

If you save the last position every execution of the code and the player is inside the collision, you can reset the player back to that position.

Drawing?

Drawing a line 2D on your radar, I don't know. But you can study the tactic's script for that.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...