Raised This Month: $ Target: $400
 0% 

[Help] Super Weapon Recoil


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Xenon
Junior Member
Join Date: Sep 2008
Old 09-05-2008 , 20:08   [Help] Super Weapon Recoil
Reply With Quote #1

Hi,im trying to make a plugin,plugin its about Recoil weapon, when you type "/recoil" weapon makes crazy

Code:
entity_set_vector (id,EV_VEC_punchangle, Float:{100.0, 5.0, 5.0})
Complete code :

Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <cstrike>
#include <fun>
#include <vault>

#define PLUGIN "Esteroides"
#define VERSION "1.0"
#define AUTHOR "Xenon"


public plugin_init() 
{
    register_plugin(PLUGIN, VERSION, AUTHOR)
    register_clcmd("say /recoil", "esteroides")

    
    }
    


public esteroides(id)
{
    
    
    {  
        entity_set_vector (id,EV_VEC_punchangle, Float:{100.0, 115.0, 50.0})
          
    }
  }
public Function()
{
    
}
Right?,ok,but only when you type /recoil that happens ,i want to when you shoot ,when you shoot every time,weapon s recoil,sorry my bad english.

I know that
Code:
#include <amxmisc>
#include <engine>
#include <cstrike>
#include <fun>
#include <vault>
not all are necessary, but not to serve each.

Thank you
Xenon 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 03:08.


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