Some Questions
1. How to make entity solid for the owner.
I use: PHP Code:
2. Play v_ models animation PHP Code:
|
Re: Some Questions
1. No proper way
Explain more about what you are doing in your plugin, there may be alternatives such as using other pev_* edicts fields. 2. Use Ham_CS_SendWeaponAnimation |
Re: Some Questions
Connor, I want I'm able to shoot my entity.
|
Re: Some Questions
Explain why do you need to be the owner then.
When i asked you to explain, i meant to explain the whole thing, easier to help, prevent xy problems. |
Re: Some Questions
Okay, I have a bomb that can be planted everywhere. If there's a player or some players around the bomb and if I shoot the bomb, it must be explode and deal damages to the victim.
|
Re: Some Questions
|
Re: Some Questions
dark_style, it is for bomb. My bomb is custom bomb, not hegrenade, flashbang, or smoke
|
Re: Some Questions
Quite simple. Make a constant with a value ( for example 100 ) and then you set the entity owner to PlayerID plus Constant. When you need the player's ID you can do entity owner minus Constant. And then the entity will remain solid to the player you deem as it's owner.
|
Re: Some Questions
If someone wants to try, method would consist to set owner to 0 when bomb is planted, and set it back to planter index when it explodes.
|
Re: Some Questions
hornet, I'm not pretty sure understand, but does it seem like this?
PHP Code:
|
| All times are GMT -4. The time now is 19:03. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.