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

Signal PM System - MySQL/SQLite based in-game Private Messaging


Post New Thread Reply   
 
Thread Tools Display Modes
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 08-12-2010 , 10:03   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #71

thx now work fine
tejeskifly is offline
Send a message via MSN to tejeskifly
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 08-12-2010 , 18:18   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #72

can you make a new cvar for change, the plugin where write for me message information?
For example the plugin write in hint text: 1 new message, type pminbox
not in chat.

sry for bad englis :S
tejeskifly is offline
Send a message via MSN to tejeskifly
Sniper214
SourceMod Donor
Join Date: Jul 2008
Location: Canby, OR USA
Old 08-12-2010 , 18:18   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #73

Why use default for database.cfg? When I use the cvar signalpm_database blah it only changes database name for that session after a restart it goes back to "default" Any way too make it permanent?
Sniper214 is offline
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 08-13-2010 , 03:26   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #74

Quote:
Originally Posted by tejeskifly View Post
can you make a new cvar for change, the plugin where write for me message information?
For example the plugin write in hint text: 1 new message, type pminbox
not in chat.
Updated to v1.3.1:
- Added cvar 'signalpm_notifytype' - set to 1 for hint text, 0 for chat (the default)
Quote:
Originally Posted by Sniper214 View Post
Why use default for database.cfg? When I use the cvar signalpm_database blah it only changes database name for that session after a restart it goes back to "default" Any way too make it permanent?
You need to set it in the config file (/<game>/cfg/sourcemod/signal.cfg), otherwise the value isn't stored permanently.
__________________
Scone is offline
Sniper214
SourceMod Donor
Join Date: Jul 2008
Location: Canby, OR USA
Old 08-13-2010 , 05:46   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #75

Thank you very much, works great
Sniper214 is offline
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 08-13-2010 , 09:16   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #76

lol man you are awesome thx, this plugin have the best support
tejeskifly is offline
Send a message via MSN to tejeskifly
tejeskifly
Senior Member
Join Date: Jun 2009
Location: Hungary, Szeged
Old 08-13-2010 , 11:08   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #77

i make hungarian translation
Attached Files
File Type: txt signal.phrases.txt (8.1 KB, 98 views)
tejeskifly is offline
Send a message via MSN to tejeskifly
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 08-13-2010 , 11:22   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #78

Thanks! I removed the "#format" entries (they only need to be in the English file) and added it to the zip file in the main post.
__________________
Scone is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 08-20-2010 , 20:34   Re: Signal PM System - MySQL based in-game Private Messaging
Reply With Quote #79

Quote:
Originally Posted by Scone View Post
Quote:
Originally Posted by rhelgeby View Post
Menu improvement: Use '0' to close menus so it's consistent, because that's what everyone does.
As far as I'm aware all menus already do this; unfortunately I don't think it's possible with panels (used for the message view and the user "menu"). If there is a way to achieve this with panels, I'd be happy to do so!
Have a look at the basechat plugin - especially this part
PHP Code:
SendPanelToAll(String:name[], String:message[])
{
    
decl String:title[100];
    
Format(title64"%s:"name);
    
    
ReplaceString(message192"\\n""\n");
    
    new 
Handle:mSayPanel CreatePanel();
    
SetPanelTitle(mSayPaneltitle);
    
DrawPanelItem(mSayPanel""ITEMDRAW_SPACER);
    
DrawPanelText(mSayPanelmessage);
    
DrawPanelItem(mSayPanel""ITEMDRAW_SPACER);

    
SetPanelCurrentKey(mSayPanel10);
    
DrawPanelItem(mSayPanel"Exit"ITEMDRAW_CONTROL);

    for(new 
1<= MaxClientsi++)
    {
        if(
IsClientInGame(i) && !IsFakeClient(i))
        {
            
SendPanelToClient(mSayPaneliHandler_DoNothing10);
        }
    }

    
CloseHandle(mSayPanel);
}

public 
Handler_DoNothing(Handle:menuMenuAction:actionparam1param2)
{
    
/* Do nothing */

Nice plugin. Keep the updates comming
__________________
Peace-Maker is offline
Scone
Senior Member
Join Date: Apr 2010
Location: England
Old 08-21-2010 , 02:47   Re: Signal PM System - MySQL/SQLite based in-game Private Messaging
Reply With Quote #80

Updated to 1.3.2:
- All panels now use 0 to close (for consistency)
Thanks for the help Peace-Maker, I didn't realise the SetPanelCurrentKey function existed
__________________
Scone is offline
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:40.


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