AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009] (https://forums.alliedmods.net/showthread.php?t=80605)

Fry! 11-16-2008 16:21

[ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
[ZP] Extra Ability : Buy Message
( ability for server )

by Fry!

Description :

With this plugin you can buy Hud message, when you press 'Y' and type '/buymsg - (your text)' in chat, it will be showed as Hud message for all players. Of course it will cost to you some ammo packs. If you don't want to buy HUD messages then type your text as usually.

Cvars :
Quote:

  • zp_buymsg_cost "2" - How much this message will cost of your ammo packs.
  • zp_buymsg_dead_cost "5" - How much this message will cost to dead players.
  • zp_buymsg_dead <1|0> - Turn on or turn off if dead players can buy these messages too, default is 1.
  • zp_buymsg_anonym <1|0> - Turn on or turn off then all players will be shown with names, default is 1.
  • zp_buymsg_time "8" - How long this message will be shown on screen.
  • zp_buymsg_red "255" - Ammount of RED (0 - 255)
  • zp_buymsg_blue "100" - Ammount of BLUE (0 - 255)
  • zp_buymsg_green "255" - Ammount of GREEN (0 - 255)


Credits
:

  • OVERLOAD - for his Buy$Message plugin.
Changelog :
Code:

16/11/2008 - v1.0 - First release
22/06/2009 - v1.0.4 - Removed toggle cvar, changed plugin name, fixed chat you couldn't say nothing public without buying HUD msg, optimized code.



Plugin you can download
here!

ifx 11-16-2008 16:30

Re: [ZP] Extra Ability : Buy Messages
 
ahaha, pretty nice!

maybe change phrase format to third person like

Player_name says: I'm gonna eat your brains!

Fry! 11-16-2008 16:38

Re: [ZP] Extra Ability : Buy Messages
 
Hey, sounds cool, lol. I will try to do it. :)

Matheus 04-19-2009 12:01

Re: [ZP] Extra Ability : Buy Messages
 
it auto-buys for you? I mean, if i dont wanna use the Hud message, and i have 30 ammo packs, can I?

Fry! 06-22-2009 16:33

Re: [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
New, fixed release v.1.0.4, for more info check main post.

fezh 06-23-2009 13:17

Re: [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
Code:

zp_buymsg_red "255" - Ammount of RED (0 - 255)
zp_buymsg_blue "100" - Ammount of BLUE (0 - 255)
zp_buymsg_green "255" - Ammount of GREEN (0 - 255)

You can merge those CVARs into only one.

Fry! 06-23-2009 13:28

Re: [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
Ye, probably I didn't thought about that.

Lord Canistra 06-23-2009 13:43

Re: [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
How about giving player an ability of choosing message color? Like "/buymsg R G B message" .
Although it may be way too difficult in use...

SnoW 06-23-2009 14:18

Re: [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
Quote:

Originally Posted by Lord Canistra (Post 855194)
How about giving player an ability of choosing message color? Like "/buymsg R G B message" .
Although it may be way too difficult in use...

People aren't smart. We can't confuse them too much.
Ye and nice plugin Fry.

Fry! 06-23-2009 14:22

Re: [ZP] Extra Server Addon : Buy Message || Updated v1.0.4 [22/06/2009]
 
Quote:

Originally Posted by Lord Canistra (Post 855194)
How about giving player an ability of choosing message color? Like "/buymsg R G B message" .
Although it may be way too difficult in use...

In fact sounds interesting, not a bad idea. I might add this feature later. Well I think if people didn't knew about this they can buy message buy default color.


All times are GMT -4. The time now is 17:06.

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