Raised This Month: $344 Target: $400
 86%   Almost there!

Subplugin Submission [ZP] Premium Member v3.0


Post New Thread Reply   
 
Thread Tools Display Modes
hunter80
Junior Member
Join Date: Dec 2011
Old 11-25-2015 , 04:42   Re: [ZP] Premium Member v3.0
Reply With Quote #131

What to give to a special admin only can open and give you a premium or gold membership?
__________________
hunter80 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-25-2015 , 05:18   Re: [ZP] Premium Member v3.0
Reply With Quote #132

Just edit below cvar:
PHP Code:
 g_sAdminFlag register_cvar("pm_admin_flag""j"// Configure access flag to open premium member menu 
zmd94 is offline
hunter80
Junior Member
Join Date: Dec 2011
Old 11-26-2015 , 06:27   Re: [ZP] Premium Member v3.0
Reply With Quote #133

Ok Tnh
__________________
hunter80 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 11-26-2015 , 09:04   Re: [ZP] Premium Member v3.0
Reply With Quote #134

Nevermind.
zmd94 is offline
ShooTeR XKy
Member
Join Date: Jul 2014
Location: Palestine
Old 10-01-2016 , 22:44   Re: [ZP] Premium Member v3.0
Reply With Quote #135

Its Not Work With my mod 4.3 ????
Why Plz Help
ShooTeR XKy is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-05-2016 , 05:57   Re: [ZP] Premium Member v3.0
Reply With Quote #136

Any errors?
zmd94 is offline
Dr Zayd
Senior Member
Join Date: Jun 2014
Location: forums.alliedmods.net
Old 10-05-2016 , 22:59   Re: [ZP] Premium Member v3.0
Reply With Quote #137

I cannot give it via steam_id ??
__________________
Invisible System | 100%
ـــــــــــــــــــــــــــــ
Anti setinfo check | Ez Plugin and lite
ـــــــــــــــــــــــــــــ
[ZP] Free VIP Menu | Free VIP menu | ZP-Mod |
Dr Zayd is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-07-2016 , 10:55   Re: [ZP] Premium Member v3.0
Reply With Quote #138

Only name. Then, you can save it via Steam ID or name.
zmd94 is offline
gRfd
Member
Join Date: Jan 2009
Old 02-28-2017 , 05:31   Re: [ZP] Premium Member v3.0
Reply With Quote #139

L 02/28/2017 - 12:29:47: [AMXX] Displaying debug trace (plugin "zp_vipsystem.amxx", version "3.0")
L 02/28/2017 - 12:29:47: [AMXX] Run time error 25: parameter error
L 02/28/2017 - 12:29:47: [AMXX] [0] zp_vipsystem.sma::plugin_cfg ( line 188 )

Last edited by gRfd; 02-28-2017 at 05:31.
gRfd is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-06-2017 , 03:00   Re: [ZP] Premium Member v3.0
Reply With Quote #140

Just try to change below:

PHP Code:
public plugin_cfg()
{
    
g_VaultID nvault_open(VAULTNAME)
    if(
g_VaultID == INVALID_HANDLE)
    {
        new 
szText[128]; formatex(szText127"Error opening Premium Member database [%s]!"VAULTNAME);
        
set_fail_state(szText)
    }
    
    
server_print("Premium Member database [%s] [%s] successfully loaded!"VAULTNAME)
    
    if(
get_pcvar_num(g_iDataExpired))
    {
        
nvault_prune(g_VaultID0get_systime() - (86400 get_pcvar_num(g_iDataExpired)))
    }

-->
PHP Code:
public plugin_cfg()
{
    
g_VaultID nvault_open(VAULTNAME)
    if(
g_VaultID == INVALID_HANDLE)
    {
        new 
szText[128
        
formatex(szTextcharsmax(szText), "Error opening Premium Member database [%s]!"VAULTNAME)
        
set_fail_state(szText)
    }
    
    
server_print("Premium Member database [%s] [%s] successfully loaded!"VAULTNAME)
    
    if(
get_pcvar_num(g_iDataExpired))
    {
        
nvault_prune(g_VaultID0get_systime() - (86400 get_pcvar_num(g_iDataExpired)))
    }

zmd94 is offline
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 19:03.


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