Raised This Month: $ Target: $400
 0% 

SvenCoop - MiniGun Powers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
FormulaZero
BANNED
Join Date: Feb 2007
Location: Sector 7G
Old 03-09-2007 , 08:00   Re: SvenCoop - MiniGun Powers
Reply With Quote #7

OK, for some reason it's not working I'll have to fix the code once I get back I have no idea what's going on it's not allowing me to jump nor have better speed, if someone wants to try to fix it heres the code:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>


#define PLUGIN "SvenCoop - Minigun Powers"
#define VERSION "1.0"
#define AUTHOR "FormulaZero"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_event("CurWeapon""weaponminigun""be")
}

public 
weaponminigun(id)
{
    new 
clip,ammo
    
new weapon get_user_weapon(id,clip,ammo)
    if(
weapon == 21) {
        
set_user_maxspeed(id300.1)
        
set_user_gravity(id1.5)
        
client_print(idprint_center"You can now jump while using the minigun.")
    }
        return 
PLUGIN_HANDLED
}

public 
client_putinserver(id)
{
    
set_task(3.0"welcome"id)
}

public 
welcome(id)
{
    new 
name[32]
    
get_user_name(idname31)
    
client_print(idprint_chat"[INFORMATION] You can jump when you have a minigun in this server")
    return 
PLUGIN_HANDLED
    

But for now school!
FormulaZero 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 08:41.


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