Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Rapid/Slow Fire
#1
Hello! Its me again! and I would like to request another plugin.
This plugin is about that you can change how fast/slow you shoot your weapon Smile
Only admins can change it and you can type in a command that makes everyone get rapid/slow fire or you can make so only the player (needs to be an admin) that types a special command get it. Smile

(sry for my bad english,I'm from sweden)
Reply

#2
epic avatar is epic
Anyway, did you have a dvar in mind?
Reply

#3
This can be done with WPM as agent troll has proven
[Image: lQDUjba.jpg]
Reply

#4
(01-14-2012, 00:52)OrangePL Wrote: This can be done with WPM as agent troll has proven

Where did you hear this from? It does not use WriteProcessMemory at all.

As far as the server side....i'm not so sure this is actually possible
[Image: b_560_95_1.png]
Reply

#5
Yeah, I've used wrong short, I meant memory editing in general.
[Image: lQDUjba.jpg]
Reply

#6
i think not possible. u would need to change the weapon file itself.
[Image: ctoc.jpg]
Reply

#7
(01-14-2012, 00:46)jariz Wrote: epic avatar is epic
Anyway, did you have a dvar in mind?

Thanks xD I made it myself.
I am not really good at these plugin coding stuff Tongue (but I know how to setup servers and how to get plugins) I am just trying to give good ideas to the community and my friends. The idea just hit me when I was playing. Smile
Reply

#8
like your attitude (:
finally a new guy, who isnt just leeching here.

but ontopic: as i already said...dont think that its possible without changin the weapon files

btw: epic avatar Narwhal
[Image: ctoc.jpg]
Reply

#9
First of all: welcome to our forum, second: nice avatar. Third: what about a plugin that gives someone a weapon with or without the attachment "rapid fire"? I mean, I think this is easier to make, just make 2 classes which are the same except for the attachment. I don't know if it is possible to restrict a class on a specific time though.
Reply

#10
May be this will help you @sio you cannot slow your firerate but can increases firerate=rapidfire
CSHARP Code
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using Addon;
  6. using System.Runtime.InteropServices;
  7.  
  8. namespace firerate
  9. {
  10. public class Class1 : CPlugin
  11. {
  12. [DllImport("kernel32.dll", SetLastError = true)]
  13. public static extern bool WriteProcessMemory(IntPtr hProcess, int lpBaseAddress, byte[] lpBuffer, int nSize, out int lpNumberOfBytesWritten);
  14. public override void OnServerLoad()
  15. {
  16. ServerPrint("fire rate loaded!!");
  17. int oP;
  18. byte[] bytes = { 0x90, 0x90 };
  19. WriteProcessMemory(((IntPtr)(-1)), 0x0041C750, bytes, bytes.Length, out oP);
  20. }


This is the Dvar to adjust fire rate
Code:
perk_weapRateMultiplier 0-1
1 is default weapon firerate decrease it to increase firerate or create plugin of ur own choice.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Help Function Fire dargula 1 2,161 10-31-2013, 23:03
Last Post: Nekochan
  rapid fire tubwux 0 1,742 09-02-2013, 00:55
Last Post: tubwux
Brick [Release] Friendly Fire remover estebespt 12 7,820 04-04-2013, 23:23
Last Post: Kasra
  sync y u so slow Arteq 13 6,576 02-22-2013, 12:46
Last Post: JariZ
  [Request] Disable Friendly Fire and Enable Kill Cam on hardcore mode. Dumas 15 10,709 09-10-2012, 14:45
Last Post: OzonE
  [Request] rapid key sender like rapid fire raminr63 8 5,905 08-29-2012, 01:29
Last Post: Devilmaster666
  SecondaryWeaponAkimbo works but cant fire JoSchaap 12 8,262 07-06-2012, 16:59
Last Post: [Z00MBY] Alex
  enable killcam and disable friendly fire in harcore mamalialex 1 2,277 06-19-2012, 20:24
Last Post: Kasperle
  [Request] No friendly fire NO KILLCAM on HC mode witherillae 8 4,489 06-15-2012, 15:37
Last Post: estebespt
  Rapid fire? Rocu 2 2,742 05-31-2012, 19:49
Last Post: Tomsen1410

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.