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

Register System V9.0 by m0skVi4a ;]


Post New Thread Reply   
 
Thread Tools Display Modes
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 06-06-2012 , 04:12   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #251

Quote:
Originally Posted by Rirre View Post
I would like to request to block the players attack commands and freeze them if they are not logged in instead of blinding.

This script prevent the client from attack/shooting, but not with the second attack (+attack2).
http://forums.alliedmods.net/showpos...13&postcount=3
Good idea. I will think
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
hasta
Senior Member
Join Date: Aug 2004
Location: Ukraine, Kyiv
Old 06-06-2012 , 05:16   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #252

how to disable register menu when client connected?
it wold be nice if plugin be simple
/reg
/login
its wery difficult for many users
hasta is offline
Send a message via ICQ to hasta
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 06-06-2012 , 13:21   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #253

Quote:
Originally Posted by hasta View Post
how to disable register menu when client connected?
it wold be nice if plugin be simple
/reg
/login
its wery difficult for many users
I will not remove the menu
I will not do this commands - /reg and /login

If you want to remove the menu at connecting find this
PHP Code:
/*==============================================================================
    Start of Show Menu functions
================================================================================*/
public ShowMenu(msgiddestid)
{
    if(
get_pcvar_num(g_on))
    {
        new 
menu_text[64]

        
get_msg_arg_string(4menu_textcharsmax(menu_text))    

        if(
equal(menu_textJOIN_TEAM_MENU_FIRST) || equal(menu_textJOIN_TEAM_MENU_FIRST_SPEC) || equal(menu_textJOIN_TEAM_MENU_INGAME) || equal(menu_textJOIN_TEAM_MENU_INGAME_SPEC))
        {
            
Menu(id)

            return 
PLUGIN_HANDLED
        
}

        return 
PLUGIN_CONTINUE
    
}
    return 
PLUGIN_CONTINUE
}

public 
VGUIMenu(msgiddestid)
{
    if(
get_pcvar_num(g_on))
    {
        if(
get_msg_arg_int(1) == JOIN_TEAM_VGUI_MENU)
        {
            
Menu(id)

            return 
PLUGIN_HANDLED
        
}

        return 
PLUGIN_CONTINUE
    
}

    return 
PLUGIN_CONTINUE
}
/*==============================================================================
    End of Show Menu functions
================================================================================*/

/*==============================================================================
    Start of Check Client functions
================================================================================*/ 
and change it to
PHP Code:
/*==============================================================================
    Start of Show Menu functions
================================================================================*/
public ShowMenu(msgiddestid)
{
    if(
get_pcvar_num(g_on))
    {
        new 
menu_text[64]

        
get_msg_arg_string(4menu_textcharsmax(menu_text))    

        if(
equal(menu_textJOIN_TEAM_MENU_FIRST) || equal(menu_textJOIN_TEAM_MENU_FIRST_SPEC) || equal(menu_textJOIN_TEAM_MENU_INGAME) || equal(menu_textJOIN_TEAM_MENU_INGAME_SPEC))
        {
            
//Menu(id)

            
return PLUGIN_HANDLED
        
}

        return 
PLUGIN_CONTINUE
    
}
    return 
PLUGIN_CONTINUE
}

public 
VGUIMenu(msgiddestid)
{
    if(
get_pcvar_num(g_on))
    {
        if(
get_msg_arg_int(1) == JOIN_TEAM_VGUI_MENU)
        {
            
//Menu(id)

            
return PLUGIN_HANDLED
        
}

        return 
PLUGIN_CONTINUE
    
}

    return 
PLUGIN_CONTINUE
}
/*==============================================================================
    End of Show Menu functions
================================================================================*/

/*==============================================================================
    Start of Check Client functions
================================================================================*/ 
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
Rirre
Veteran Member
Join Date: Nov 2006
Old 06-06-2012 , 15:09   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #254

API system/natives would be awesome too so other plugins can communicate with Register System, check if the user is logged in or not as example.
Rirre is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 06-07-2012 , 12:08   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #255

Quote:
Originally Posted by Rirre View Post
API system/natives would be awesome too so other plugins can communicate with Register System, check if the user is logged in or not as example.
Thanks for the idea
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
triluxion
New Member
Join Date: May 2012
Old 06-15-2012 , 17:43   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #256

I use file save, but when I register an account this account not save, and I must register it them again!! HEELPP !!
triluxion is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 06-17-2012 , 09:16   Re: Register System V1.0 BETA by m0skVi4a ;]
Reply With Quote #257

Quote:
Originally Posted by m0skVi4a View Post
It saves to name

I need more language translations.

Tonight i will add pictures
What if the player connects with another name? You should save with STEAMID and save the name aswell. When he connect, you'll retrieve his STEAMID and set his old name again like it was before.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
ichiro200
Junior Member
Join Date: Oct 2010
Old 06-29-2012 , 01:46   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #258

How to disable auto login function ?
Because everytime client connect, reconnect or changemap it's so annoying. Or can you show me how to change Auto login to default login
ichiro200 is offline
m0skVi4a
Senior Member
Join Date: May 2011
Location: Rousse, Bulgaria
Old 06-29-2012 , 06:30   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #259

Quote:
Originally Posted by ichiro200 View Post
How to disable auto login function ?
Because everytime client connect, reconnect or changemap it's so annoying. Or can you show me how to change Auto login to default login
I will add CVAR for dissabling auto login function.

Last edited by m0skVi4a; 06-29-2012 at 06:30.
m0skVi4a is offline
Send a message via Skype™ to m0skVi4a
omer
Senior Member
Join Date: Nov 2011
Old 07-08-2012 , 02:05   Re: Register System V5.0 by m0skVi4a ;]
Reply With Quote #260

@m0skVi4a can you add email also in reg system i mean they have to enter email also and email will save in database
__________________

omer 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 08:43.


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