Raised This Month: $66 Target: $400
 16% 

Amx PM


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   v3x (159)
Sonic7145
Member
Join Date: Jul 2005
Location: USA
Old 12-31-2005 , 03:14   Amx PM
Reply With Quote #1

Amx PM
Version 1.3

Credits
v3x for helping me with the access.
Jrdn44053 for help with the strtok commands, and various other bits of code.

Description
This plugin somewhat resembles amx_psay. However, this command can be used by anyone, outside of the console. and allows players to send private messages to other players in-game.
Does not allow dead to alive chat, and logs all PMs so they are viewable in your log directory - a file entitled "pms.log". New in version 1.3, is a bug fix which would require correct capitalization of the target, which is no longer needed. Also, players are able to leave messages for the admin, even if an admin is not online!

Usage
1)
In console:
amx_pm <playerName> "<message>"
The message must be in quotation marks or it'll only send the first word.

2)
Regular chat:
/pm <Playername> <Message> - sends a private message to a player.
No quotes required.

/msgadmin <Message> - sends a message to the server admin, which is stored in a file so the admins can check their messages.
No quotes required.

3) Admins, to check the log files, simply go to your log folder in your AMXx directory.

Known Problems
-Typing just "/pm" sends a blank message to yourself.

Things to add
-Perhaps allow admins to see the messages in-game.
-Make the messages different-colored.

Updates
- /pm can now be used to send messages without opening console. See usage.
Attached Files
File Type: sma Get Plugin or Get Source (pm.sma - 4512 views - 3.5 KB)

Last edited by Sonic7145; 04-09-2007 at 20:08. Reason: Updated to 1.3.
Sonic7145 is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 12-31-2005 , 03:24  
Reply With Quote #2

Quote:
Originally Posted by Suggestion
Maybe let them only send to people who are alive to alive or dead to dead. Not alive to dead or other way around. Maybe they'll use to tell other teams where other people are.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
Sonic7145
Member
Join Date: Jul 2005
Location: USA
Old 12-31-2005 , 03:26  
Reply With Quote #3

Oops, heh.
added ^^
Sonic7145 is offline
Sir Apocalypse
Member
Join Date: Jul 2005
Location: Finland
Old 12-31-2005 , 03:48  
Reply With Quote #4

Useless, i guess
__________________
[img]http://img56.**************/img56/864/sirapocalypse1yh.gif[/img]
Sir Apocalypse is offline
Send a message via MSN to Sir Apocalypse
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-31-2005 , 03:55  
Reply With Quote #5

Quote:
Originally Posted by Sir Apocalypse
Useless, i guess
Not really.

You should add something so if admins with X access can see the messages as well ;)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Lord_Destros
Veteran Member
Join Date: Jul 2004
Location: With stupid.
Old 01-02-2006 , 00:38  
Reply With Quote #6

will it look like a psay message when it comes up?
__________________
Quote:
Originally Posted by Twilight Suzuka
Don't worry m'lord. The turtles day will come.
Lord_Destros is offline
Send a message via AIM to Lord_Destros
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 01-02-2006 , 01:18  
Reply With Quote #7

I like this idea Its great! a better thing to do would be to now have all these logged into a server file so the admins could go back and look
Styles is offline
Send a message via AIM to Styles Send a message via MSN to Styles
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 01-02-2006 , 04:44  
Reply With Quote #8

Great idea, keep it up with suggestions.
Peli is offline
Send a message via MSN to Peli
Dizzy
Veteran Member
Join Date: Jun 2004
Location: Massachusetts
Old 01-02-2006 , 12:34  
Reply With Quote #9

Sounds cool... I like the idea...
__________________
My Plugins

Purchase Mod - Stable
Type Sounds - Stable
Monster Spawner - Stable
Nade Giver - Maintenance
Dizzy is offline
Send a message via AIM to Dizzy
Geesu
AMX Mod X Plugin Approver
Join Date: Mar 2004
Location: Cincinnati, OH
Old 01-02-2006 , 14:39  
Reply With Quote #10

choose a category
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
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 23:18.


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