AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [Help] Super Weapon Recoil (https://forums.alliedmods.net/showthread.php?t=77117)

Xenon 09-05-2008 20:08

[Help] Super Weapon Recoil
 
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 :)

Emp` 09-05-2008 20:15

Re: [Help] Super Weapon Recoil
 
Check this out: http://forums.alliedmods.net/showthread.php?t=34292


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

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