AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How can i change fire rate of a weapon? [Witout plugins] (https://forums.alliedmods.net/showthread.php?t=88237)

AlejandroSk 03-22-2009 01:22

How can i change fire rate of a weapon? [Witout plugins]
 
PLease =( Explain me the code
and i dont want to use 3rd party plugin

fysiks 03-22-2009 02:02

Re: How can i change fire rate of a weapon? [Witout plugins]
 
http://forums.steampowered.com/

AlejandroSk 03-22-2009 12:16

Re: How can i change fire rate of a weapon? [Witout plugins]
 
????

Bugsy 03-22-2009 12:19

Re: How can i change fire rate of a weapon? [Witout plugins]
 
If you don't want it done with a plugin then you are asking on the wrong forum.

AlejandroSk 03-22-2009 12:24

Re: How can i change fire rate of a weapon? [Witout plugins]
 
i want a code for change a weapon rate. i mean i dont want a 3rd party plugin like Fireratecontroler

Bugsy 03-22-2009 12:36

Re: How can i change fire rate of a weapon? [Witout plugins]
 
http://forums.alliedmods.net/showthr...apon+fire+rate

AlejandroSk 03-22-2009 12:52

Re: How can i change fire rate of a weapon? [Witout plugins]
 
i just want the code for change fire rate!!!
because i wanna use it on my plugin!

Bugsy 03-22-2009 13:15

Re: How can i change fire rate of a weapon? [Witout plugins]
 
The code is in that thread champ; click the Get Source link. The plugin is very small and is not hard to understand how the rate is being changed.

AlejandroSk 03-22-2009 14:16

Re: How can i change fire rate of a weapon? [Witout plugins]
 
can you explain me this then?

PHP Code:

 if(N_Speed != 1.0)
    {
        static 
weapon[32],Ent
        get_weaponname
(Gun,weapon,31)
        
Ent fm_find_ent_by_owner(-1,weapon,id)
        if(
Ent)
        {
            static 
Float:Delay,Float:M_Delay
            Delay 
get_pdata_floatEnt464) * N_Speed
            M_Delay 
get_pdata_floatEnt474) * N_Speed
            
if (Delay 0.0)
            {
                
set_pdata_floatEnt46Delay4)
                
set_pdata_floatEnt47M_Delay4)
            }
        }
    }



Bugsy 03-22-2009 14:46

Re: How can i change fire rate of a weapon? [Witout plugins]
 
See this thread: http://forums.alliedmods.net/showthread.php?t=47316


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

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