AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   emit_sound will not follow the entity. (https://forums.alliedmods.net/showthread.php?t=213941)

.Dare Devil. 04-21-2013 03:17

emit_sound will not follow the entity.
 
Hello, how i can do this when you call emit_sound then sound will stay where it first starded?
Thanks!

Rirre 04-21-2013 03:42

Re: emit_sound will not follow the entity.
 
Save the coordinates/origin there it were executed.

ConnorMcLeod 04-21-2013 03:44

Re: emit_sound will not follow the entity.
 
PHP Code:

{
    new 
Float:origin[3];
    
pev(idpev_originorigin);
    
EF_EmitAmbientSound(idoriginSAMPLEvolumeattenuationfFlagspitch);



.Dare Devil. 04-21-2013 03:53

Re: emit_sound will not follow the entity.
 
Quote:

Originally Posted by ConnorMcLeod (Post 1936863)
PHP Code:

{
    new 
Float:origin[3];
    
pev(idpev_originorigin);
    
EF_EmitAmbientSound(idoriginSAMPLEvolumeattenuationfFlagspitch);



thanks!


All times are GMT -4. The time now is 10:49.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.