Raised This Month: $51 Target: $400
 12% 

Buy Crowbar!


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 03-14-2006 , 09:15   Buy Crowbar!
Reply With Quote #1

This allows all players to buy a crowbar by saying /buycb

The cost of the crowbar is 100 bucks, it is the .mdl from Half Life.

to toggle it on and off, you must use the manual pause unpause...
to turn it off and on here is the command=
to turn it off amx_pausecfg pause crowbar.amxx
to turn it on amx_pausecfg unpause crowbar.amxx

I have seen people try before to get this to work, but havent seen a functioning one, so i decided to try and make one, this is my first plugin!!!!

Known bugs that i cant fix-
When buying the crowbar the first round you buy it you cant see the crowbar, unless you switch from knife to gun then to crowbar.
If you know how to fix that please tell me!

Credits-
Metal_Head_666-found the mdl for the crowbar that i couldnt find, fixed 2 errors i couldnt find.
Cheap_suit-I used one of the .wavs from his brass knuckels plugin, i also got the idea of buying it by saying /buycb from his /buybk idea.
Freecode and team06-Thank you for directing me to wiki.amxmodx.org to learn scripting
and those i neglected
or forgot
or didnt bother to mention.

TY AND HAVE FUN WITH THIS! Btw since i am new at scripting i did not know how to change it so you can toggle the price of the crowbar or toggle the crowbar on and off.

Have fun with the Crowbars guys!

see this plugin work at my server in my signature!

Installation...

Put the crowbar.sma in your scripting folder
Put the crowbar.amxx in your plugins folder
Add line crowbar.amxx to your plugins.ini in 3rd party plugins
Create a folder in your sounds folder called Crowbar, put the sounds inside that folder. If you do not wish to do this, then the crowbar will use the default knife sounds.

You need

engine-running
cstrike-running
fakemeta -running

Todo-
Make it so admins can toggle the price of crowbar
Make it so admins can turn the crowbar on and off

Im also working on a new plugin just like this one, just instead of a crowbar a Glass Bottle.
Attached Files
File Type: sma Get Plugin or Get Source (crowbar.sma - 1419 views - 3.3 KB)
File Type: zip sounds.zip (55.7 KB, 461 views)
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
Sarge
Junior Member
Join Date: Mar 2006
Old 03-15-2006 , 02:28  
Reply With Quote #2

ill try it out some time, atm im on vacation with 56k dialup, meh 56k sucks...
Sarge is offline
Send a message via AIM to Sarge Send a message via MSN to Sarge
[P]Latinum
Junior Member
Join Date: Mar 2006
Old 03-15-2006 , 09:38  
Reply With Quote #3

is this like the crowbar in hl1?
__________________
[P]latinum
[P]Latinum is offline
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 03-15-2006 , 10:27  
Reply With Quote #4

Yes, it is the crowbar model from half life.

I could have used a different model that hasnt been seen before, but this is easier for clients, because since they have the model already, they dont have to download it. Less dl time makes clients happy =D
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 03-15-2006 , 22:17  
Reply With Quote #5

A few things, one what is the point of buying a crowbar? Any added damage? If not then the plugin is kinda useless, . Try adding a cvar which allows you to change dmg. Also can't you just use the sounds from HL1 as well?.
__________________
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
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 03-16-2006 , 09:18  
Reply With Quote #6

The 3 slash sounds are from HL1, but i made a different sound for the stab.

And i didnt want to make a plugin where it gives someone and advantage over another player. I just wanted to make it so i could beat people with a crowbar.

=D

And ill be learning how to do Vars and everything in the future (this was my first plugin)
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
michaelp_94
New Member
Join Date: Jan 2006
Old 03-17-2006 , 01:51  
Reply With Quote #7

...

Last edited by michaelp_94; 09-27-2009 at 23:09. Reason: ...
michaelp_94 is offline
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 03-17-2006 , 03:30  
Reply With Quote #8

thanks dude, im working on a bunch of stuff and im sure once i learn everything, ill be able to make this plugin completely user friendly.

If you know how to script, you can remake this and send it in to me, i will post it as another plugin with your name in the remake credits.
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
FatalisDK
Senior Member
Join Date: Mar 2006
Location: bacon
Old 03-27-2006 , 22:44  
Reply With Quote #9

395 lines of whitespace?
__________________
FatalisDK is offline
10Stars
Senior Member
Join Date: Mar 2006
Location: New Jersey
Old 03-27-2006 , 23:49  
Reply With Quote #10

and what may i ask are you talking about
__________________
www.6o9clan.com

Im 10 $74|2$.
10Stars is offline
Send a message via AIM to 10Stars Send a message via MSN to 10Stars
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 00:08.


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