Bilal135 Posted May 21, 2015 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? "Get busy living or get busy dying"
Walid Posted May 21, 2015 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. Do not yield your back to your enemy, might feel something strange in your ass. Two things are infinite the universe and human stupidity and i'm not sure about the universe. UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators
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