Raised This Month: $32 Target: $400
 8% 

Nade Giver


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Johnny got his gun (102)
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 11-12-2004 , 00:40   Nade Giver
Reply With Quote #1

Nade Giver
v2.0

MAINTENANCE - Stay Tuned

NOW WITH DOD SUPPORT THANKS TO JOSELITO

Code:
////////////////////////////////// //AMXMOD[X]                     // //Nade Giver v2.0               // //CS code by: Dizzy (Original)  // //DOD code by: Joselito         // //(©)All rights reserved        // //                              // //Cvars:                        // // amx_nadegiver (0|1) (off|on) // // amx_nade_flash <number>      // // amx_nade_grenade <number>    // // amx_nade_smoke <number>      // //                              // //Server CFG Cvars:             // // ng_nadegiver 1               // //                              // // For CS:                      // // ng_cs_flash 2                // // ng_cs_smoke 1                // // ng_grenade 1                 // //                              // // For DOD:                     // // ng_grenade 2                 // //                              // //Client Commands:              // // nademenu --CS                // // nadegive --DOD               // //                              // //Description:                  // //                              // //   When a new round begins    // //   you can type the client    // //   commands to obtain two     // //   flashes, one he grenade    // //   ,and one smoke per round.  // //////////////////////////////////
Attached Files
File Type: sma Get Plugin or Get Source (nadegiver.sma - 3704 views - 13.3 KB)

Last edited by Dizzy; 03-14-2010 at 01:09.
Dizzy is offline
Send a message via AIM to Dizzy
LizardKing
Member
Join Date: Sep 2004
Old 11-12-2004 , 03:05  
Reply With Quote #2

Hey great idea/plugin. I will definitly use this.
__________________
LizardKing is offline
Send a message via MSN to LizardKing
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 11-12-2004 , 05:01  
Reply With Quote #3

Maybe you should tell people about the sv_nade cvar...
Johnny got his gun is offline
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 11-12-2004 , 16:48  
Reply With Quote #4

K sorry about that I will JGHG
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 11-14-2004 , 11:20  
Reply With Quote #5

If you have an Idea to this plugin or you want a feature added just tell me and I will add it

I was wondering if I added this

Code:
new bool:hasloaned[32]

Code:
register_event("ResetHUD","roundchange","b")

Code:
public client_connect(id) { hasloaned[id] = false } public client_disconnect(id) { hasloaned[id] = false }

Code:
public roundchange(id) { hasloaned[id] = false return PLUGIN_CONTINUE }

with a grand total of
Code:
#include <amxmodx> #include <fun> new bool:hasloaned[32] public plugin_init() {   register_plugin("Nade Giver","1.0","Dizzy")   register_cvar("sv_nade","1")   register_clcmd("say /smoke","Smoke")   register_clcmd("say /he","HE")   register_clcmd("say /flash","Flash")   register_event("ResetHUD","roundchange","b") } public client_connect(id) { hasloaned[id] = false } public client_disconnect(id) { hasloaned[id] = false } public Smoke(id) { if (hasloaned[id]) return PLUGIN_HANDLED if (get_cvar_num("sv_nade") !=0) { give_item(id,"weapon_smokegrenade") } return PLUGIN_HANDLED } public HE(id) { if (hasloaned[id]) return PLUGIN_HANDLED if (get_cvar_num("sv_nade") !=0) { give_item(id,"weapon_hegrenade") } return PLUGIN_HANDLED } public Flash(id) { if (hasloaned[id]) return PLUGIN_HANDLED if (get_cvar_num("sv_nade") !=0) { give_item(id,"weapon_flashbang") } return PLUGIN_HANDLED }   public roundchange(id) { hasloaned[id] = false return PLUGIN_CONTINUE }

will that make it soo you can only use one grenade per round?
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 11-15-2004 , 20:35  
Reply With Quote #6

Well, is anyone gonna reply to me?

Will that make it once a round?

__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 11-15-2004 , 23:57  
Reply With Quote #7

This is your plugins thread, not the scripting help forum.
__________________

BigBaller is offline
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 11-25-2004 , 23:40  
Reply With Quote #8

Should I add anything to this plugin? Change Anything if you have any suggestions just tell me !!
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 02-03-2005 , 21:56   How bout nade only?
Reply With Quote #9

How bout adding a nade only function, so it can make any map an HE map. An HE plugin was created by Burnzy which worked great, but he was later banned, so his plugin was removed, I still have a copy of it, but thought you could add it in yours. Also I'm not sure if yours already does this, but you could make it so that it gives people the nades right after they use it automatically. Also if you do add a nade only cvar, plz create a cvar for nade only AND one for nades and knives only. lol, that would be interesting.....................
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 04-05-2005 , 22:33  
Reply With Quote #10

Yesh, Adding A HE Only Arena Would Be Kinda Cool, Can You Give Me Burnzy's Script?

I'd Like To Take A Look At It.
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Reply



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 16:40.


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