krgunner Posted December 6, 2008 Share Posted December 6, 2008 Hey , i was just browsing youtube when i came across from the MTAQA i was wondering how is this done Thanks GuNNeR Link to comment
Gamesnert Posted December 6, 2008 Share Posted December 6, 2008 For as far as I know, they used this function: attachObjectToBone or getPedBonePosition (because a vehicle isn't an object, I think this one) Either way, you can't do it in DP2. For as far as I know however, it DOES work in the nightlies. Link to comment
drifterCZ Posted June 16, 2009 Share Posted June 16, 2009 sorry, but func. attachObjectToBone doesnt exist... how did they do this? its probably not timer with setting an position due to pos. of bones, so how to do that? thanks for reply Link to comment
50p Posted June 16, 2009 Share Posted June 16, 2009 It doesn't use timers, it used onClientPreRender or onClientRender. I still have the client-side file (somewhere) off public beta-test. Link to comment
drifterCZ Posted June 16, 2009 Share Posted June 16, 2009 It doesn't use timers, it used onClientPreRender or onClientRender. I still have the client-side file (somewhere) off public beta-test. and if i want to show it to all players? calculating positions of cars from all players on each player pc? or is an eazilly way to sync it? Link to comment
50p Posted June 16, 2009 Share Posted June 16, 2009 getElementPosition? Here is the file: http://pastebin.com/f1d144da2 It may not work because there have been lots of changes since the last public test. Link to comment
drifterCZ Posted June 16, 2009 Share Posted June 16, 2009 getElementPosition?Here is the file: http://pastebin.com/f1d144da2 It may not work because there have been lots of changes since the last public test. thanks for help it probably work ok, but i cant move Link to comment
Gamesnert Posted June 16, 2009 Share Posted June 16, 2009 I have the entire resource, got it on IRC once. You can have it. Seems to work fine. Also includes a small script to (easily) spawn them transformers, for some extra fun. 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