Raised This Month: $ Target: $400
 0% 

Help my noob code please!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-01-2006 , 16:28   Re: Help my noob code please!
Reply With Quote #4

You could try this:
Code:
#include <amxmodx> #include <amxmisc> #include <tfcx> #define PLUGIN "NoName" #define VERSION "1.0" #define AUTHOR "hlstriker" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_event("AmmoX" , "ammoCheck" , "b");     return PLUGIN_CONTINUE } public ammoCheck(id) {     new ammo = tfc_getweaponbammo ( id, TFC_WPN_SUPERNG )     if (ammo < 50) {         tfc_setweaponbammo ( id, TFC_WPN_SUPERNG, 50)     }     return PLUGIN_CONTINUE }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x 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:05.


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