Raised This Month: $51 Target: $400
 12% 

Emit sound pleas help !!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-05-2011 , 07:55   Emit sound pleas help !!
Reply With Quote #1

how can i remplacing or emit walking sound "pl_step1" and "pl_step2" ...
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 06-05-2011 , 07:59   Re: Emit sound pleas help !!
Reply With Quote #2

You cant directly replace them.All you have to do is block default step sounds.
Code:
// this blocks step sounds :?
set_pev( id, pev_flTimeStepSound, 999 )
And than emit your own sounds by hooking when player moves.The best solution is to use Orpheu and hook PM_PlayerMove.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-05-2011 , 12:22   Re: Emit sound pleas help !!
Reply With Quote #3

not work compile eror pleas help
Attached Files
File Type: sma Get Plugin or Get Source (custom_sound.sma - 536 views - 1.5 KB)

Last edited by Dolph_Ziggler; 06-05-2011 at 12:44.
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:40.


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