Bomb gets stuck inside player!
[SOLVED]
I have a plugin that automatically drops the bomb when a player with the bomb spawns in a bombzone. This is for a retake scenario server, but the bomb gets stuck inside the player planting. I have tried turning the gravity very high so that the bomb falls to the ground very fast, but this was not very good for several reasons. And then I tried to give the player noclip for a second before dropping the bomb, this worked a few times but is not very good.. I also tried slapping the player.. This is very ugly and did not work every time.. Is there any good solution to this? |
Re: Bomb gets stuck inside player!
Code:
|
Re: Bomb gets stuck inside player!
To anyone who tried this script and think its working:
It only does when you are alone on a server for some reason. I've tried it with a friend, and one of us gets stuck all the time while the other can plant without any issue. |
Re: Bomb gets stuck inside player!
Code:
It must have something to do with this section, is it not possible to make it spawn a little bit away from the players origin? So that it does not get stuck? Thanks |
Re: Bomb gets stuck inside player!
Stop multi posting, learn how to use the edit button.
Edit: You can start by doing something like this, you can get more sophisticated later. PHP Code:
PHP Code:
|
Re: Bomb gets stuck inside player!
Quote:
Thank you so much! |
| All times are GMT -4. The time now is 17:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.