Jump to content

Width and Height (col shapes)


Recommended Posts

This is some information copied from wiki. (http://www.wiki.multitheftauto.com/wiki/createColRectangle)

Syntax

colshape createColRectangle ( float fX, float fY, float fWidth, float fHeight) 

Required Arguments

fX: The X position of the collision rectangle's west side

fY: The Y position of the collision rectangle's south side

fWidth: The collision rectangle's width

fHeight: The collision rectangle's height

So how do I actually get the exact position of fX, fY, and fWidth and fHeight? Last time I used some script which told us x, y, z but if I use that fX and fY, the col rectangle is created somewhere else.

How do I get the exact fX, and fY?

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...