Bilal135 Posted May 21, 2015 Share Posted May 21, 2015 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
Walid Posted May 21, 2015 Share Posted May 21, 2015 use your position X , Y then type /showcol 1 to check if the colShape is in the right place or not. Link to comment
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