Raised This Month: $32 Target: $400
 8% 

Private Connect Messages


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands        Approver:   Hawk552 (427)
pRED*
Join Date: Dec 2006
Old 05-08-2007 , 22:40   Private Connect Messages
Reply With Quote #1

Requested by Vm|Mayhem

This plugin allows you to set messages for players based on their steamid.
When the player next joins the server the message will be displayed to them as a green chat message.

Setting a pm using the steamid "*" displays the message to everyone

Commands:
amx_addpm <steamid/*> <message>
amx_removepm <steamid/*>
amx_viewpm <steamid/*>

Cvars:
amx_pm_active (1|0) - enables/disables the displaying of pms
amx_pm_autodelete (0|1) - If enabled, the pm's are removed after they are displayed once. Otherwise they appear every connect till they are removed.

Currently only supports one PM per steamid + one global message.
Attached Files
File Type: sma Get Plugin or Get Source (pm.sma - 7471 views - 5.5 KB)
pRED* is offline
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 05-08-2007 , 23:22   Re: Private Connect Messages
Reply With Quote #2

nice idea, testing it now!
datwinkle is offline
Send a message via AIM to datwinkle
Old 05-09-2007, 01:08
Angelina
This message has been deleted by Angelina.
pRED*
Join Date: Dec 2006
Old 05-09-2007 , 02:23   Re: Private Connect Messages
Reply With Quote #3

nvault at the moment.

Am planning on adding SQL support at some point, so it can be used across multiple servers..
pRED* is offline
Old 05-09-2007, 03:16
Angelina
This message has been deleted by Angelina.
B_V_G
Member
Join Date: Apr 2007
Old 05-09-2007 , 07:56   Re: Private Connect Messages
Reply With Quote #4

nice, just so I understand right.

amx_addpm STEAMID_0:5348534"*" "Server Admin connected"
B_V_G is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-09-2007 , 10:27   Re: Private Connect Messages
Reply With Quote #5

Quote:
Originally Posted by B_V_G View Post
nice, just so I understand right.

amx_addpm STEAMID_0:5348534"*" "Server Admin connected"
No, amx_addpm "STEAMID_0:5348534" "Server Admin connected"

the * is only if you want a global message
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
pRED*
Join Date: Dec 2006
Old 05-09-2007 , 16:02   Re: Private Connect Messages
Reply With Quote #6

Yeah as he said that will only display the message to you.

The idea is that you can do stuff like..

amx_addpm "STEAMID_0:43532" "Stop abusing other players or you will be banned"

or

amx_addpm "*" "This server is booked for a match at 8pm tonight."
pRED* is offline
Howdy!
Senior Member
Join Date: Feb 2007
Old 05-09-2007 , 16:50   Re: Private Connect Messages
Reply With Quote #7

Good job. (I got own plugin ideas from this)
__________________
[IMG]http://img221.**************/img221/5608/howdyfinnishhq2.jpg[/IMG]
Howdy! is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 05-09-2007 , 17:33   Re: Private Connect Messages
Reply With Quote #8

KARMA +++
Styles is offline
Send a message via AIM to Styles
Vm|Mayhem
Senior Member
Join Date: Feb 2005
Location: Murrieta, CA.
Old 05-09-2007 , 20:28   Re: Private Connect Messages
Reply With Quote #9

Thanks for Your hard work..I'll test.

+KARMA
Vm|Mayhem is offline
Send a message via AIM to Vm|Mayhem
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-09-2007 , 20:44   Re: Private Connect Messages
Reply With Quote #10

I would use it, but nVault won't load for me (AmxX 1.76d)
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 18:59.


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