No sound emited by entity
Hi AM community, i have created an entity binded to a console comand and i want to add sounds to it when players are around , just it doesn't work and i don't know why, some help please
My code PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Re: No sound emited by entity
does your entity even "think"
post full code |
Re: No sound emited by entity
as jimaway said i think here is the problem..
your entity never think PHP Code:
PHP Code:
--> PHP Code:
|
Re: No sound emited by entity
Thanks red it works but don't know why only the first time when spawning the entity.
Intra si tu in pana mea pe steam :)) |
Re: No sound emited by entity
Add this set_pev( ent, pev_nextthink, get_gametime( ) + 1.0 ); // your delay instead 1.0 outside the if( ) check. Also, PmSound is not a good name since it's almost the same as PM_Sound. You may want to choose a better name.
|
Re: No sound emited by entity
Thanks guys Solved!
:) Salutare! |
All times are GMT -4. The time now is 19:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.