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

Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management       
metal_upa
Senior Member
Join Date: Jun 2016
Old 06-11-2016 , 14:27   Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #1

Purpose:
  • Show random text message to all players in server.
  • Add as many text as you want.
  • Random hudtext colors, color chat for cs1.6 and cz only.
  • No need external/extra file. All can be done in .sma file.
Requirement:
  • Amxmodx 1.8.3-dev version that support dhud and color chat.
  • Engine module.
Configuration:
Code:
#define COORD_X -1.0
#define COORD_Y 0.20
#define HOLD_TIME 12.0

#define TIME_MIN 60.0
#define TIME_MAX 180.0
Attached Files
File Type: sma Get Plugin or Get Source (amx_info_text.sma - 295 views - 2.2 KB)

Last edited by metal_upa; 06-11-2016 at 14:29.
metal_upa is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-11-2016 , 14:44   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #2

Quote:
No need external/extra file. All can be done in .sma file.
If you think that this is an advantage, you are wrong. That's called hardcoding and it's not acceptable.

I am not going to read your code because such plugins already exists.

Unapproved. Please post something unique.
__________________
HamletEagle is offline
metal_upa
Senior Member
Join Date: Jun 2016
Old 06-11-2016 , 18:26   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
I am not going to read your code because such plugins already exists.
Don't be so arrogant, please be nice, see my code first and then comment it.

@HamletEagle
What do you expect something unique that can be done with amxx? If you want something unique then go modding HLDS engine instead. That was 'unique' means to me.

Last edited by metal_upa; 06-11-2016 at 18:45.
metal_upa is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-12-2016 , 09:32   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #4

I'm not arrogant, but before code is reviewed the ideea should be somehow new or interesting. A plugin that show some messages was done 100 times before and with more features than yours.

After you learn more you will see that there are a lot of things you can do with amxx.
__________________

Last edited by HamletEagle; 06-12-2016 at 09:33.
HamletEagle is offline
WAR3DM
Senior Member
Join Date: Mar 2016
Old 06-14-2016 , 04:38   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #5

Could I get a link of the dhudmessage advertiser you're talking about Hamlet?
WAR3DM is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 06-14-2016 , 11:41   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #6

Have you tried to search, War?
zmd94 is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 06-16-2016 , 16:32   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #7

There is such kind of plugin
but it's not HUD it's colored messages in chat.
But I don't think HUD will be a good idea since its used by many different plugins to show messages such as server static info, health ( basebuilder ) and many others...

I don't think someone has such need or pleasure to replace chat msg with HUD ones.
siriusmd99 is offline
WAR3DM
Senior Member
Join Date: Mar 2016
Old 07-06-2016 , 07:19   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #8

Quote:
Originally Posted by zmd94 View Post
Have you tried to search, War?
Yes, doesn't exist.
WAR3DM is offline
j.abdalftah
Member
Join Date: Jul 2016
Location: Palestine-Hebron
Old 07-06-2016 , 07:44   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #9

nice plugin
j.abdalftah is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 07-06-2016 , 09:41   Re: Info Text: Dhud, NormalHud, ColorChat (CS1.6/CZ)
Reply With Quote #10

Shouldn't this:
PHP Code:
new iColor[3]
iColor[0] = random(256)
iColor[1] = random(256)
iColor[2] = random(256
be this?
PHP Code:
new iColor[3]
iColor[0] = random(255)
iColor[1] = random(255)
iColor[2] = random(255
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
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 23:37.


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