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

Private Message


Post New Thread Reply   
 
Thread Tools Display Modes
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 07-26-2012 , 02:12   Re: Private Message
Reply With Quote #21

lol, but mine like that this plugin is cool, by the way, can i suggest you something? when we want to send a pm, try to type like this: /w <Username>
Randomize is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 07-26-2012 , 12:33   Re: Private Message
Reply With Quote #22

Why the '/w'? What makes this plugin unique is that you simply /<username> <message>
Though /pm <username> <message> might fix it catching incorrect commands. But the update that is on the way should still have all these problems cured.
(i'm switching form slash(/) to exclamation(!) for most users)
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 07-26-2012 , 20:21   Re: Private Message
Reply With Quote #23

PHP Code:
(!player) ? client_print(idprint_chat"%L"id"INVALID_PLAYER"target) : printMessage(playeridmessage
Use an if-else here dude, having less lines doesn't make your plugin cooler or more efficient, just more annoying to read. condition ? true : false statements are very useful but IMO should be used when appropriate, such as when a particular value is returned based on the result, like:
PHP Code:
client_printid print_chat "You are %s" condition "cool" "silly" )

// instead of having

if ( condition )
    
client_printid print_chat "You are cool" )
else
    
client_printid print_chat "You are silly" 
And I get 'ML_NOTFOUND: INVALID_PLAYER' if the name isn't found in server. Yes, the lang file is data/lang folder.

Besides that, cool little plugin, though I'm surprised if it hasn't been done 20 times over.
__________________

Last edited by Bugsy; 07-26-2012 at 21:45.
Bugsy is offline
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 07-27-2012 , 05:27   Re: Private Message
Reply With Quote #24

Liverwiz: wow, i think it's simply too you should added reply command to the person who sent you a PM
Randomize is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 07-27-2012 , 10:09   Re: Private Message
Reply With Quote #25

Quote:
Originally Posted by Bugsy View Post
And I get 'ML_NOTFOUND: INVALID_PLAYER' if the name isn't found in server. Yes, the lang file is data/lang folder.

Besides that, cool little plugin, though I'm surprised if it hasn't been done 20 times over.
What language are you using? The english tags are in there, and works for me....I'll update the .txt here in a minute.

Yeah....i know right? I'm sure they have....but only a few (like two) are approved. Figured i'd try my hand in it.

Quote:
Originally Posted by Randomize View Post
Liverwiz: wow, i think it's simply too you should added reply command to the person who sent you a PM
I actually like that idea quite a bit. I'll see if i can work it into the upcoming release. Only issue i see would be if someone has multiple people PMing them at once. You'll have people replying to the wrong people and then blaming the server. We can't really have that, can we?
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
Moody92
Veteran Member
Join Date: May 2011
Location: Oman
Old 07-27-2012 , 10:34   Re: Private Message
Reply With Quote #26

What about /reply name message ? for the person who you just replied it will show RE: BLAHBLAHBLAH

Reply won't work unless that person send a message to you first

Last edited by Moody92; 07-27-2012 at 10:35.
Moody92 is offline
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 07-27-2012 , 10:53   Re: Private Message
Reply With Quote #27

Quote:
Originally Posted by Moody92 View Post
What about /reply name message ? for the person who you just replied it will show RE: BLAHBLAHBLAH

Reply won't work unless that person send a message to you first
Good idea....but that would turn it into e-mail. What i liked about the reply idea was how simple it would be to reply, you wouldn't need to put in the name and could go directly. And that would be a bit of code for something that it does anyway. Know what i mean?
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz is offline
Randomize
BANNED
Join Date: May 2012
Location: in your heart
Old 08-06-2012 , 06:09   Re: Private Message
Reply With Quote #28

you should give a different colours for it
Randomize is offline
Razvann.
Senior Member
Join Date: Jul 2012
Old 08-06-2012 , 08:25   Re: Private Message
Reply With Quote #29

Quote:
[ro]
INVALID_PLAYER = [PM] Jucator invalid: %s
BAD_TARGET = [PM] Pentru a prevenii ghosting-ul, nu ai voie sa vorbesti cu jucatorii morti.
PM_ENABLED = [PM] Mesajele private au fost activate !
PM_DISABLED = [PM] Mesajele private au fost dezactivate !
USER_BLOCKED = [PM] L-ai blocat pe %s de ati da mesaje private !
USER_UNBLOCKED = [PM] L-ai deblocat pe %s pentru ati da mesaje private !
BLOCKED_MSG = [PM] Acesti utilizator a dezactivat mesajele private.
NOADMIN_MSG = [PM] Nu aveţi privilegii suficiente pentru admin.
Romanian translate
Razvann. is offline
Send a message via Yahoo to Razvann.
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 08-06-2012 , 12:54   Re: Private Message
Reply With Quote #30

Quote:
Originally Posted by Randomize View Post
you should give a different colours for it
Your suggestion has been taken into consideration. ;)

Quote:
Originally Posted by Razvann. View Post
Romanian translate
Thanks! Translations will be posted within the hour. i hope.
EDIT: Razvann; please check out the ML thread (link in description) for the latest tags. Your current translations will be added, but there are new ones in what you just translated. Thanks for your work and support!
__________________
What an elegant solution to a problem that doesn't need solving....

Last edited by Liverwiz; 08-06-2012 at 13:02.
Liverwiz is offline
Old 08-06-2012, 14:03
Exolent ID
This message has been deleted by YamiKaitou. Reason: spam
Old 08-06-2012, 14:04
Exolent ID
This message has been deleted by YamiKaitou. Reason: spam
Reply



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 12:08.


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