Raised This Month: $66 Target: $400
 16% 

Counter-Strike Impulse 101 [Version 1.1]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Hawk552 (427)
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 08-21-2009 , 15:59   Counter-Strike Impulse 101 [Version 1.1]
Reply With Quote #1

Counter-Strike Impulse 101


Description:
This plugin will allow players to buy Impulse 101, say /buy_impulse101 will get full weapons , full ammo and full items.

Commands:
say /buy_impulse101 - To buy a Impulse 101

Admin Commands:
amx_giveimpulse <name> - To give player a Impulse 101

PCvars:
amx_buyimpulse (plugins enabled. default: 1)
amx_impulse_cost (Impulse 101 const. default: 16000)

Change Log:
V1.1 - Give terrorist c4
V1.0 - First Public version
Attached Files
File Type: sma Get Plugin or Get Source (cs_impulse101.sma - 3950 views - 4.2 KB)
File Type: txt cs_impulse101.txt (434 Bytes, 1641 views)

Last edited by ds811888; 08-22-2009 at 06:49.
ds811888 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-21-2009 , 16:02   Re: Counter-Strike Impulse 101
Reply With Quote #2

If it's for CS edit the topic and choose the modification: CS

Also, have you tested it ?
PHP Code:
stock give_full_ammo(id)
{
    
/* Give all ammo */
    
give_item(id,"ammo_45acp")
    
give_item(id,"ammo_9mm")
    
give_item(id,"ammo_50ae")
    
give_item(id,"ammo_57mm")
    
give_item(id,"ammo_buckshot")
    
give_item(id,"ammo_556nato")
    
give_item(id,"ammo_762nato")
    
give_item(id,"ammo_338magnum")
    
give_item(id,"ammo_308")
    
give_item(id,"ammo_556natobox")

This only gives 1 clip of each ammo type, not full ammo !

AAAaaaaand also:
PHP Code:
stock give_full_items(id)
{
    
/* Give all items */
    
give_item(id,"item_kevlar")
    
give_item(id,"item_assaultsuit")
    
give_item(id,"weapon_flashbang")
    
give_item(id,"weapon_hegrenade")
    
give_item(id,"weapon_smokegrenade")
    
give_item(id,"item_thighpack")
    
give_item(id,"item_nvgs")
    
give_item(id,"weapon_shield")

Giving shield while having a primary weapon would be lame because you'll still have the shielding active...
Also, you need to give 2 flashes, because that's the "full", and apart from that, you do not need to give kevlar because assasultsuit is kevlar + helm.
Another thing, you *could* give c4 too, but would be useless.
__________________

Last edited by Hunter-Digital; 08-21-2009 at 16:06.
Hunter-Digital is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 08-21-2009 , 16:02   Re: Counter-Strike Impulse 101
Reply With Quote #3

Dude I don't understand the purpose of this :/
__________________
"There is no knowledge, that is not power"
fezh is offline
ds811888
BANNED
Join Date: Mar 2009
Location: Hong Kong
Old 08-21-2009 , 16:13   Re: Counter-Strike Impulse 101
Reply With Quote #4

Quote:
Originally Posted by Hunter-Digital View Post
If it's for CS edit the topic and choose the modification: CS

Also, have you tested it ?
PHP Code:
stock give_full_ammo(id)
{
    
/* Give all ammo */
    
give_item(id,"ammo_45acp")
    
give_item(id,"ammo_9mm")
    
give_item(id,"ammo_50ae")
    
give_item(id,"ammo_57mm")
    
give_item(id,"ammo_buckshot")
    
give_item(id,"ammo_556nato")
    
give_item(id,"ammo_762nato")
    
give_item(id,"ammo_338magnum")
    
give_item(id,"ammo_308")
    
give_item(id,"ammo_556natobox")

This only gives 1 clip of each ammo type, not full ammo !

AAAaaaaand also:
PHP Code:
stock give_full_items(id)
{
    
/* Give all items */
    
give_item(id,"item_kevlar")
    
give_item(id,"item_assaultsuit")
    
give_item(id,"weapon_flashbang")
    
give_item(id,"weapon_hegrenade")
    
give_item(id,"weapon_smokegrenade")
    
give_item(id,"item_thighpack")
    
give_item(id,"item_nvgs")
    
give_item(id,"weapon_shield")

Giving shield while having a primary weapon would be lame because you'll still have the shielding active...
Also, you need to give 2 flashes, because that's the "full", and apart from that, you do not need to give kevlar because assasultsuit is kevlar + helm.
Another thing, you *could* give c4 too, but would be useless.
Fixed. +k for u
ds811888 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-21-2009 , 16:29   Re: Counter-Strike Impulse 101
Reply With Quote #5

item_nvgs doesnt exists.
__________________

Last edited by xPaw; 08-21-2009 at 17:51.
xPaw is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 08-21-2009 , 16:31   Re: Counter-Strike Impulse 101
Reply With Quote #6

Quote:
Originally Posted by xPaw View Post
does item_nvgs exist ?
I don't think so, I never heard about it.
__________________
"There is no knowledge, that is not power"
fezh is offline
MmikiM
Senior Member
Join Date: Nov 2006
Location: Poland
Old 08-21-2009 , 17:51   Re: Counter-Strike Impulse 101
Reply With Quote #7

Code:
[pl]
NOT_ENOUGH_MONEY = Potrzebujesz %d$, zeby kupic Impulse 101!
BOUGHT_IMPULSE = Kupiles Impulse 101!
Polish translate
__________________


Projects:
Zombie Elite - Technical: 100% Looking for models and sounds...
CS:Source Zombie -
Work in progress...
MmikiM is offline
JesusLtu
Member
Join Date: Feb 2008
Location: Lithuania/Klaipėda
Old 08-21-2009 , 17:59   Re: Counter-Strike Impulse 101
Reply With Quote #8

Quote:
NOT_ENOUGH_MONEY = Jums reikia $%d, kad nusipirktumet Impulse 101!
BOUGHT_IMPULSE = Jus nusipirkote Impulse 101!
Lithuanian translate. ;)
__________________
Can Translate plugins/mods into Lithuania language. Write PM or contact using Skype or Gmail.

+Karma if I helped you!
JesusLtu is offline
Send a message via Yahoo to JesusLtu Send a message via Skype™ to JesusLtu
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 08-21-2009 , 21:48   Re: Counter-Strike Impulse 101
Reply With Quote #9

Quote:
[ro]
NOT_ENOUGH_MONEY = Ai nevoie de %d$ ca sa cumperi Impulse 101!
BOUGHT_IMPULSE = Ai cumparat Impulse 101!
__________________
Hunter-Digital is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 08-22-2009 , 01:51   Re: Counter-Strike Impulse 101
Reply With Quote #10

You have it so the admin can't use it while s/he is dead? That doesn't make sense, you should require that the target is alive.
__________________
fysiks is offline
Reply


Thread Tools
Display Modes

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 04:34.


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