Raised This Month: $ Target: $400
 0% 

Amx PM


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   v3x (159)
Sonic7145
Member
Join Date: Jul 2005
Location: USA
Old 12-31-2005 , 02: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 - 5240 views - 3.5 KB)

Last edited by Sonic7145; 04-09-2007 at 19:08. Reason: Updated to 1.3.
Sonic7145 is offline
 



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 01:13.


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