Kapricioza Posted November 7, 2018 Share Posted November 7, 2018 Hi, I make a script for work as a car driver. I wanna disable collisions in special car for work (like passive mode in gta online). I mean, nobody from the others players can't hit the spawned vehicle for work. I try to used this function: https://wiki.rage.mp/index.php?title=Entity::setNoCollision but I must doing something wrong because this is not working. Could u paste for me working example code? Link to comment Share on other sites More sharing options...
cheeck Posted November 9, 2018 Share Posted November 9, 2018 https://wiki.rage.mp/index.php?title=Entity::setNoCollision Example not working? Link to comment Share on other sites More sharing options...
WeiZed Posted February 13, 2022 Share Posted February 13, 2022 В 09.11.2018 в 21:43, cheeck сказал: https://wiki.rage.mp/index.php?title=Entity::setNoCollision Example not working? no ;c Link to comment Share on other sites More sharing options...
Kopra Posted February 15, 2022 Share Posted February 15, 2022 Try to switch places of entity1 and entity2, so for example if you tried entity1.setNoCollision(entity2, false), now do entity2.setNoCollision(entity1, false) or try both at the same time. 1 Link to comment Share on other sites More sharing options...
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