AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   fm_set_user_footsteps (https://forums.alliedmods.net/showthread.php?t=87071)

tuty 03-06-2009 11:37

fm_set_user_footsteps
 
Hi,
or i am blind or in fakemeta_util.inc this stock doesn;t exist.

Can someone give me this stock ? i dont want to use fun just for this :mrgreen:

padilha007 03-06-2009 11:50

Re: fm_set_user_footsteps
 
PHP Code:

stock fm_set_user_footsteps(indexset 1) {
        if (
set) {                
                
set_pev(indexpev_flTimeStepSound999)
              
        }
        else {
                
set_pev(indexpev_flTimeStepSoundSTANDARDTIMESTEPSOUND)
                
g_silent[index] = false
        
}

        return 
1
    



tuty 03-06-2009 11:54

Re: fm_set_user_footsteps
 
thanx :shock:

from fakemeta_util?

SnoW 03-06-2009 13:59

Re: fm_set_user_footsteps
 
Quote:

Originally Posted by tuty (Post 775204)
thanx :shock:

from fakemeta_util?

Get the fakemeta_util.inc if u haven't it already and search with the stock's name. Wola! You have the answer. No it's not in FM util.

ConnorMcLeod 03-06-2009 14:39

Re: fm_set_user_footsteps
 
You can run this plugin and use natives fm_get_user_footsteps and fm_set_user_footsteps in whatever plugin you want.

If you want it for a single plugin, just merge the code into your plugin.

tuty 03-06-2009 15:55

Re: fm_set_user_footsteps
 
thank you

ConnorMcLeod 03-06-2009 16:22

Re: fm_set_user_footsteps
 
If you want to code it in a .sma,see this post :
http://forums.alliedmods.net/showthr...608#post376608


All times are GMT -4. The time now is 08:57.

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