AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Hats (https://forums.alliedmods.net/showthread.php?t=58374)

sgtbane 07-24-2007 20:42

Hats
 
2 Attachment(s)
This plugin will allow you to customize your player with a hat/accessory to make them look different then everyone else.

Code:

Commands:
        say /hats                  Bring up the hat menu...
        amx_givehat <name> <hat#> Set a hat manually on someone.
        amx_removehats                  Remove everyone's hat. (Note. Simply disabling the plugin will not remove the hats from the players)

Code:

CVars:
        hat_adminonly        1|0        If set to 1, Only admins can use hats. (Modify the plugin to change the flag required to use them when enabled. Default ADMIN_CHAT)
        hat_adminhats        1|0        If set to 1, if specified in the .ini, certain hats will be admin only. I added this as a cvar so you can setup admin-only hats, and toggle the ability for others to use them easily.
        hat_random        1|0        Randomly pick a hat for people as they join the server.
        hat_bots        1|0        Randomly pick a hat for bots joining the server.
        hat_force        0|#        If set, this will be the model number of the hat that will be forced on everyone in the server. Set to 0 to disable
        hat_glow        0|1|2        If set to 0, no hat glowing will be done by the plugin. If set to 1, the hat will take on the glow color of the player. If set to 2, the hat will glow the color of there team (T=Red, CT=Blue)

And for anyone who is running this mod on there servers, I ask that you please don't go changing names of hats. I have joined a lot of servers that like to rename everything to something like CLANNAMEdunce.mdl and GeorgesPirateHat.mdl and crap like that. If you didn't make the model, don't change its name. It just makes people have to download things they already have just for the namechange. Also, if you don't have a content host, either get one, or please start using less or smaller file sized models...


[Plugin Updated 01/06/2009]

crazyeffect has created a nice compilation of currently created hats in this post if you would like to save time digging through here to find them...

Thanks to strika for noticing, and fysiks for repairing a major flaw in the plugin. Attached is his fixed version.

Emp` 07-24-2007 21:05

Re: Hats
 
zOMG i'm sooo putting this on my server lol

as for the coding:
register_clcmd("say /hats", "ShowMenu", -1, "Shows Knife menu")

otherwise it is good. approval in a couple days.

redx6580 07-24-2007 23:37

Re: Hats
 
ROFL, this is hilarious... As for suggestions for hats, ever think of stuff like,
Robin hood had
Darth vadar helmet.
Flower head hat. ( http://www.sshs57.com/photos/JPEGS/0...omicCon-67.jpg )
Graduation cap.
Micky mouse.
Santa cap.
Football helmet.
Cowboy hat.
Beer hat.
Doorag.
The "ghost" hat is a little to far, but not my problem.
Of course you don't need to make all these, just suggestions.

potatis_invalido 07-24-2007 23:51

Re: Hats
 
I.
Like.
This.
Very.
Much.

stupok 07-25-2007 01:18

Re: Hats
 
I'm wondering if this should be expanded any further...

What if you could shoot off someone's hat by delivering a headshot? The hat can drop onto the ground and then you run over it to pick it up again.

Maybe you should just keep it simple, as it is :wink:. It's hilarious.

dxteam 07-25-2007 05:49

Re: Hats
 
Make plz for example when you wear hat the hat add more hp or speed and etc .

ABC3Q 07-25-2007 06:26

Re: Hats
 
try a version without using the include cstrike so it can be used for all mods instead of just 1.

potatis_invalido 07-25-2007 13:58

Re: Hats
 
Here's an idea:
At the start of every round, two random hats are choosen. CTs will have one hat and terrorists will have the other.

dxteam 07-25-2007 14:02

Re: Hats
 
Make plz more hats and ability for them =)

NNP 07-25-2007 17:36

I run a cs 1.6 standlone server, i got the plugin it loads, but there are no hats loaded, what did i do wrong? add me to steam friends please

noobkillerz


All times are GMT -4. The time now is 18:21.

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