Raised This Month: $ Target: $400
 0% 

Buy Silencer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-07-2005 , 18:50   Buy Silencer
Reply With Quote #1

[Description]
Silencers for m4a1 and usp dont come free no more.

[Cvar]
amx_silencer_cost (D: 1000) - sets the cost for the silencer

[Command]
say /buysilencer - type this when in the buyzone to get a silencer
(This gets advertise every new round to the players who has either a m4a1 or usp in their hands)

[Note]
1. Modules Needed: engine, fakemeta, and cstrike.
Attached Files
File Type: sma Get Plugin or Get Source (buysilencer.sma - 1882 views - 2.8 KB)
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 11-07-2005 , 19:02  
Reply With Quote #2

Hmm nice job , You should make it so u can have a silencer on all guns. like /buyak and it comes with a silencer.
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 11-09-2005 , 04:00  
Reply With Quote #3

Is that even possible? If it is, that would be cool but im not sure if it is.
__________________
bmann_420 is offline
[C]oN -X-
Member
Join Date: Nov 2005
Old 11-09-2005 , 04:26   hehe
Reply With Quote #4

idea sounds like ownage though
[C]oN -X- is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 11-09-2005 , 07:10  
Reply With Quote #5

Cheap_Suit:
Code:
public Event_Death(id)
"id" not needed here because "DeathMsg" is global event (non-specified). Using it here this is the way to get the warning.

Logically right to restrict to buy silencer after ending of mp_buytime

IMHO, you should restrict to buy silencer if it already bought + center message: "You already have silencer!"

Also i think you should mention about required modules.

Quote:
Originally Posted by bmann_420
Is that even possible? If it is, that would be cool but im not sure if it is.
It possible (better with custom models and sounds for each weapon).
VEN is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 11-09-2005 , 07:44  
Reply With Quote #6

Quote:
Originally Posted by bmann_420
Is that even possible? If it is, that would be cool but im not sure if it is.
Yeah it's possible, just use emit_sound to overwrite the default sounds, as long as the user holds the attack button. You can use client_PreThink for that part. The only thing that you need are some more silencer sounds. And you need a button (most likely right mouse button) to activate the silencer. Getting models for weapons with silencers are optional. But that's what you basically need.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-09-2005 , 10:02  
Reply With Quote #7

Quote:
Originally Posted by VEN
Cheap_Suit:
Code:
public Event_Death(id)
"id" not needed here because "DeathMsg" is global event (non-specified). Using it here this is the way to get the warning.

Logically right to restrict to buy silencer after ending of mp_buytime

IMHO, you should restrict to buy silencer if it already bought + center message: "You already have silencer!"

Also i think you should mention about required modules.

Quote:
Originally Posted by bmann_420
Is that even possible? If it is, that would be cool but im not sure if it is.
It possible (better with custom models and sounds for each weapon).
Will do thnx for the suggestion.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
mmiikkee
New Member
Join Date: Oct 2005
Old 11-09-2005 , 14:20  
Reply With Quote #8

can u set differ cost for silencer for differ guns

wierd silencer cost more than a usp

amx_usp_silencer_cost 300
amx_colt_silencer_cost 1000[/quote]
mmiikkee is offline
noob3d
Junior Member
Join Date: Sep 2005
Old 11-09-2005 , 14:23  
Reply With Quote #9

nice plugin ;D btw from where do you get thease ideas ?!
noob3d is offline
Charming
BANNED
Join Date: Nov 2005
Location: Canada
Old 11-09-2005 , 16:38  
Reply With Quote #10

well i like the idea of buying silencer's for all guns i think that would be awesome cause if u think about it CT"s have an advantage.
Charming is offline
Send a message via ICQ to Charming Send a message via AIM to Charming Send a message via MSN to Charming Send a message via Yahoo to Charming
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 17:09.


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