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

Win Messages Changer


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-14-2013 , 18:49   Win Messages Changer
Reply With Quote #1

Description

This plugin allows you to change the win messages to whatever you want.
Example:
When Terrorists win it displays "Terrorists Win". If you have a jail server, you can make it display "Prisioners Owned The Guards!"


How Works:

The plugin has 3 cvars.
The first one is for you change method that message is displayed.
0 = print_center, as normal display of game
1 = HUD message (red if Terrorists win, blue if CTs win)

The others cvars are the messages text that you want to be showed.

To Know:

Since it uses cvars, you dont need to recompile the plugin any time you want to change message, just put that in some file like server.cfg
As default, it just supports 50 characters at maximum. If you want more, change the value in define and recompile.

How To Install:

You can compile it in web compiler or in your amx studio (if you have) changing the cvars to whatever you want.
Or you can simply download the amxx file, put in your plugins folder, add it to your plugins.ini, put the cvars in server.cfg and restart the server.

If you want put cvars on server.cfg this is how it can be:
Code:
msg_method "0"
msg_t_win "Terrorists Owned This Round!"
msg_ct_win "Counter-Terrorists Owned This Round!"
msg_rounddraw "No One Owned This Round!"
Credits:

- ConnorMcLeod

Works On CS And CZ
Have Fun
Attached Files
File Type: sma Get Plugin or Get Source (win_messages_changer.sma - 2705 views - 2.0 KB)
__________________

Last edited by Jhob94; 07-25-2013 at 05:35. Reason: Update
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-14-2013 , 18:57   Re: Win Messages Changer
Reply With Quote #2

Hum one friend told me now it already exists :/
I searched before post but didnt found. If there is a plugin approved/unapproved or whatever that does the exactly the same thing, you can trash it...
__________________

Last edited by Jhob94; 07-14-2013 at 18:57.
Jhob94 is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 07-14-2013 , 19:37   Re: Win Messages Changer
Reply With Quote #3

hey look at my new joke

What sound makes a pirate duck? quARRk
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 07-14-2013 , 20:03   Re: Win Messages Changer
Reply With Quote #4

Quote:
Originally Posted by Jhob94 View Post
Hum one friend two friends told me now it already exists :/
check those threads, see if you can make something nice from them :
__________________
ANTICHRISTUS is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-14-2013 , 20:07   Re: Win Messages Changer
Reply With Quote #5

None of that does exatcly what mine does...
One is for shows sprites other is change team names for others proposes too, and is trashed...
__________________

Last edited by Jhob94; 07-14-2013 at 20:08.
Jhob94 is offline
OTTOMANSAYKO
Junior Member
Join Date: Dec 2012
Location: Hi Nigger
Old 07-14-2013 , 22:24   Re: Win Messages Changer
Reply With Quote #6

Good jobb...
__________________
OTTOMANSAYKO is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 07-15-2013 , 13:08   Re: Win Messages Changer
Reply With Quote #7

Don't create variables inside a loop.
guipatinador is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-15-2013 , 14:32   Re: Win Messages Changer
Reply With Quote #8

I dont think that it is very important. But if it is crucial for plugin runs perfectly i think i can change, isnt hard. But if i should change as you saying, (hum) why is it more effective?
__________________
Jhob94 is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 07-15-2013 , 14:41   Re: Win Messages Changer
Reply With Quote #9

Quote:
Originally Posted by Jhob94 View Post
I dont think that it is very important. But if it is crucial for plugin runs perfectly i think i can change, isnt hard. But if i should change as you saying, (hum) why is it more effective?
WHAT? Do not create variables inside the loop, or you not understand?
Its a optmize thing and is required to be approve, its simple to create variable before loop?
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-15-2013 , 16:03   Re: Win Messages Changer
Reply With Quote #10

Quote:
Originally Posted by ^SmileY View Post
WHAT? Do not create variables inside the loop, or you not understand?
Its a optmize thing and is required to be approve, its simple to create variable before loop?
Iam just asking why is it better (or optimized) -.-
__________________
Jhob94 is offline
Reply


Thread Tools
Display Modes

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:53.


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