AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Is it possible to script buying of more then 1 hand grenade? (https://forums.alliedmods.net/showthread.php?t=1300)

BigBaller 04-22-2004 03:10

Is it possible to script buying of more then 1 hand grenade?
 
Just as the title says is that possible or is that limited due to how CS was created?

AssKicR 04-22-2004 09:37

i made a plugin that allows you to have more than one HE.. not released yet.. a minor bug in it... I had 200 HEs at one point :D

bcmorgue 04-22-2004 14:35

If you are looking for a plugin that will limit a player to 1 he, 2 flashes and 1 smoke per round, I have been running this plugin on my server for quite some time:

http://amxmod.net/amx-plugins.php?cat=search#26601
It's called Anti-grenadespam.

BUT! If you run this on your server, I would highly recommend the
Custom Map Configs (JustinHoMi/JGHG) Plugin.
http://forums.alliedmods.net/showthread.php?p=5571

This is great for servers that want to run the anti-grenadespan plugin, but also have he_ type maps.

Just create a map config, such as he_tennis, and put this line in there
amx pause anti_grenadespam

Then put
amx unpause anti_grenadespam

in your server.cfg, so when the server changes back to a regular map, where you want the grenadespam pluing on, it will unpause that plugin.

Cheers!

AssKicR 04-22-2004 15:19

that isn't what he is looking for bcmorgue

BigBaller 04-22-2004 15:35

LOL

I was asking is it possible to have more then one hand grenade, thanks anywayz.

AssKicR what happens to be the bug, it might be fun.

P.S

Custom Map Configs (JustinHoMi/JGHG) Plugin is going to be incorpated into the AMXX Core soon, as BAILOPAN and SniperBeamer were talking IRC they were going to do for future releases.

bcmorgue 04-22-2004 15:52

Oooh, sry, my bad

QwertyAccess 04-22-2004 19:07

hehe wats da bug? 666 grenades?

GanJa 04-22-2004 22:10

That script, personally sounds easy. Just give the user another grenade after he has used his current one, until he has "used" all his boughten grenades.

AssKicR 04-23-2004 03:04

Quote:

Originally Posted by GanJa
That script, personally sounds easy. Just give the user another grenade after he has used his current one, until he has "used" all his boughten grenades.

it isn't that easy GanJa =)

The whole idea is that the ammo located in the corner will show how many nades you have....

QwertyAccess 04-23-2004 03:14

i highly doubt asskicr's plugin just simply give_item's another grenade

AssKicR 04-23-2004 03:28

well the problem is that my plugin requires some functions found in amxx 2.0, so i gotta w8 4 that

GanJa 04-23-2004 10:04

Yes I realize it's a bit more complicated then that but that would be the basic idea of how to go about it =) he cosmetics are another story..

Johnny got his gun 04-23-2004 10:05

Very easy. Use cstrike module:
Code:
/* Restock/remove ammo in a user's backpack.  */ native cs_set_user_bpammo(index, weapon, amount);


Maybe like

Code:
cs_set_user_bpammo(crazyivan, CSW_HEGRENADE, 666)

Just make sure user has at least one grenade first...


All times are GMT -4. The time now is 17:29.

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