AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Buy$Message (https://forums.alliedmods.net/showthread.php?t=4557)

liOVERLOADil 08-04-2004 00:06

Buy$Message
 
1 Attachment(s)
Buy$Message Version 1.0 by OVERLOAD (03Aug04)

This plugin will allow clients to send HUD messages
to everyone, but for a price.

USAGE: /buymsg <Message>
Must be typed in chat.

Availible CVAR's:

amx_buymsgon - Plugin ON/OFF (1 = ON)
amx_buymsgdedspk - Dead Players Buy Messages ON/OFF (1 = ON)
amx_buymsgnoname - Name Tag On Messages ON/OFF (1 = ON)
amx_buymsgprice - Price For One HUD Message
amx_buymsgdedprice - Price For Dead Players
amx_buymsghelp - Help Menu
amx_buymsgtime - Time (Seconds) For Message
amx_buymsgdred - Ammount of RED (0 - 255)
amx_buymsgblu - Ammount of BLUE (0 - 255)
amx_buymsggrn - Ammount of GREEN (0 - 255)

_____________________________________________ __________________

- Update (04Aug04)
- Added Customizable Message Color CVAR's.
- Added Code to Guarentee Message Won't be Knocked Off The Screen by Other Messages.
- Added Customizable Message Hold Time.
- Added Code Which Will Stop Two Clients From Posting A Message At The Same Time.
_____________________________________________ __________________

BE ADVISED: Due to a bug in AMXx, "/buymsg" will still be displayed in the
messages. More info about the bug is contained within this thread

kingpin 08-04-2004 00:23

lmfao thats funny.. hehe gonna try this out just to piss people off on my server tomorow.

liOVERLOADil 08-04-2004 12:39

Hey Kingpin, whats you're server IP?

-=STN=- MaGe 08-04-2004 13:41

if they buy the msg will it garrante it will stay up the length of time it should, the tsay and csay in admin chat sometime disapear after a second

-=STN=- MaGe 08-04-2004 13:42

lol kingpin you joined one day after me

liOVERLOADil 08-04-2004 13:54

If there are not more than three other messages being displayed it should
stay up without problems. I was thinking about putting in something that
clears all other messages before it prints one for just such an occasion, but I
wanted to release my plugin yesterday.

I'll probably update it with this soon...perhapse some more stuff included.

CNZ 08-04-2004 15:25

Where can I download this, I don't see it posted here?

Burnzy 08-04-2004 15:27

if u read... it says theres a problem and hes fixing it

liOVERLOADil 08-05-2004 13:24

Well guys, it looks as though its not a problem with my plugin at all, instead
its a bug in AMXx. Parse does not work the way its supposed to, and I tried
to use strbreak, but that function doesn't even exist.

I've reported the bugs, so don't worry, Buy$Message won't be dead for too
much longer.

In the mean time, I am going to repost the new, improved plugin but not
the way I originally intened it to be.

johnjg75 08-05-2004 17:29

y is it
Code:
register_clcmd("say", "hud_print_pre")
instead of
Code:
register_clcmd("say /buymsg", "hud_print_pre")
?


All times are GMT -4. The time now is 16:39.

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