Function Crashing
Ok. I have this almost working correctly. It brings up m menu blocks my use button . And I think It un-blocks it the way i want. But when it cmes to either the explosion or the removing the bomb it crashes. And theres no errors in my logs. Any ideas ? Thank You.
Code:
|
Re: Function Crashing
Check to make sure you found a valid entity in bomb_explosion(). A simple check such as:
Code:
or Code:
|
Re: Function Crashing
Thanks For the help Zenith . Is this the right way to use pev_valid ??
Code:
If so then it didnt work becasue it still crashed my server . Its only crashing during explosion/bomb removal stll . :cry: |
Re: Function Crashing
Code:
|
Re: Function Crashing
hmmm. That crashed too. Is there something wrong with the way I removed the bomb ? Or my find entity by model function ?:cry:
|
Re: Function Crashing
Code:
|
Re: Function Crashing
Ok i got it to stop crashing . But now the probem seems to be that my function bomb_explosion is not being executed. Or maybee the first statement is and then its canceled. It doesnt explode or remove the bomb . But it doesnt crash. So why isnt it executing the second statement in my exlosion_function ?
Code:
|
Re: Function Crashing
Some suggestions, put your pev_valid() check before you get the origin, and use EngFunc_WriteCoord as suggested before.
|
Re: Function Crashing
Ok. I remved the pev_valid() and now my explosion works. apprenatly my bomb entity wasnt valid. So i wont check it . now how can I make the explosion as big as the c4 explosion and make it do damage ??? And its still not removing the bomb :cry: thanks again .
|
Re: Function Crashing
This can
|
| All times are GMT -4. The time now is 06:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.