Raised This Month: $ Target: $400
 0% 

pev_flTimeStepSound problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-06-2007 , 15:39   pev_flTimeStepSound problem
Reply With Quote #1

i use this coding to make only cts have footsteps, but it still takes away ct's footsteps.

heres what i got:

Code:
public fwdPlayerPreThink(id)
{
     if(!is_user_alive(id))
          return FMRES_IGNORED;
     
     static stepSound;
     if(get_user_team(id) == 2)
     {
          stepSound = 400;
     }
     else
     {
          stepSound = 999;
     }
     set_pev(id, pev_flTimeStepSound, stepSound);
     return FMRES_IGNORED;
}
but it doesnt seem to work.

ive tried a lot of stuff to make it work but it wont.

can someone give me a script of how they would do it?
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
 



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 01:17.


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