Raised This Month: $ Target: $400
 0% 

velocity_by_aim


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
maakera
Member
Join Date: Jul 2009
Old 05-31-2010 , 07:23   velocity_by_aim
Reply With Quote #1

i want it to add boost every time i press mouse 2 when holding a knife.
doesnt work :S
PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <vector>
#include <engine>

#define PLUGIN "Knife Boost"
#define VERSION "1.0"
#define AUTHOR "Zibit"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_clcmd("+attack2","Boost",ADMIN_KICK,"Allows boost if pressed mouse2")
    
// Add your code here...
}

public 
Boost(id)
{
new 
ClipAmmoWeapon get_user_weapon(idClipAmmo)
if ( 
Weapon == CSW_KNIFE ) {   
new 
Float:vRetValue[3]
velocity_by_aim id500vRetValue )
}

__________________

maakera 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 05:24.


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