Sometimes it throws sometimes not!!
I'm using the throw knife entity code from throwing knives plugin.
the problem is when i type /throw, sometimes it throw's a knife and sometimes no. Why is that? This is the code: PHP Code:
Thanks for help! :) |
Re: Sometimes it throws sometimes not!!
Show us the full code. I can think only that you are trying to drop too fast or whatever and the entity is somehow not valid at this point. I can't see something wrong.
Code:
Your code basically create another entity, set to it the knife model, set a size so it will be solid and you can touch it, and then set a velocity on this entity. The entity is not created or the velocity is not set ? |
Re: Sometimes it throws sometimes not!!
Quote:
the result is that the entity is created successfully tough the knife isn't thrown. |
Re: Sometimes it throws sometimes not!!
Again, give us the full code or a simple one that has the same problem.
|
Re: Sometimes it throws sometimes not!!
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 17:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.