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

UserWelcome with CountryName


Post New Thread Reply   
 
Thread Tools Display Modes
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-25-2006 , 19:16  
Reply With Quote #11

Well mine now has green text


I feel all fuzzy inside..


Anyway, I changed the client_print to a hud message, then decided to use write_bite instead with a green color.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Sean D
Junior Member
Join Date: Apr 2006
Old 05-25-2006 , 19:58  
Reply With Quote #12

why don't you just let the admin decide what kind of message is to be printed?
Sean D is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-25-2006 , 20:00  
Reply With Quote #13

Quote:
Originally Posted by SweatyBanana
Well mine now has green text


I feel all fuzzy inside..


Anyway, I changed the client_print to a hud message, then decided to use write_bite instead with a green color.
Why don't you load the msg variable on plugin_init? Running it every time someone joins defeats the purpose of it.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 05-25-2006 , 20:30  
Reply With Quote #14

Quote:
Originally Posted by Hawk552
Why don't you load the msg variable on plugin_init? Running it every time someone joins defeats the purpose of it.
He means move
Code:
g_msg_status_text = get_user_msgid("StatusText")
to plugin_init()
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-25-2006 , 21:01  
Reply With Quote #15

Fixed that...Also a few other things...new version comming out tomarrow.
Uploaded new version 1.1
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-26-2006 , 10:27  
Reply With Quote #16

v1.2

Changes:

Accidently had cstrike included..Took that out..


Re-aranged code.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
SubStream
Veteran Member
Join Date: Aug 2005
Location: USA
Old 05-27-2006 , 11:23  
Reply With Quote #17

In my opinion sweaty.. the best thing you can do is make 2 cvars to go with this plugin.

show_all 0|1 0 = only admin 1 = everyone sees the welcome message and

show_method 1|2|4|8 1 = console 2 = chat 4 = tsay coordinates in hud 8 = csay coordinates in hud and make them additive so people can have more than one or all if they wish. So 3 would be console and chat, 5 would be tsay coords and console, 6 would be chat and tsay, 7 would be console chat and tsay, 9 would be csay and console, 10 would be csay and chat, 11 would be csay chat and console, 12 would be csay and tsay, 13 would be csay tsay and console, 14 would be csay tsay and chat, and 15 would be all. I'm sure you could have figured all that on your own but I figured I'd just type it out to eliminate that part for you to think about to help make it easier... I dunno...

I personally NEVER use any hud messages from any plugins because in my opinion I'd rather have stuff spam in chat than hud.. why? because the center of the screen is where I aim at and I hate seeing crap there... maybe in the tsay coordinates but never in the middle... I would probably enable it for console only though just because I hate seeing crap on the screen period.. but if I WAS going to put it on the screen it would be in chat because it is most out of the way of game play and in servers I host people shoot and play more than they talk... it's more a serious pub so yah... having it in hud = gay in servers where you have people trying to actually shoot their enemy and not talk to them in chat.

Just an idea or two.. that's all... Great plugin idea.

Oh yah since we're all sharing opinions about what we all think... i think having a welcome message is better than changing names in scoreboard especially if he adds an admin only option so that only Admin see the message vs. having country in scoreboard where everyone can see.... and besides that I don't want to see their country in scoreboard... I just want to be notified once when they enter. I would use this and not the other one.
SubStream is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-27-2006 , 18:39  
Reply With Quote #18

UPDATED WITH FIRST CVAR
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 05-27-2006 , 22:41  
Reply With Quote #19

New VERSION!!!


v1.4

Added cvar to control where to display it..


Look at original plugin post for details.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 05-27-2006 , 22:57  
Reply With Quote #20

You really jumped the gun on this and made it even more poorly coded. I don't know if you could have possibly done a less effective method with the cvars.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 14:10.


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