Raised This Month: $ Target: $400
 0% 

[REQ] Starting AP plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
I0ri
Senior Member
Join Date: Feb 2009
Old 12-18-2009 , 06:44   [REQ] Starting AP plugin
Reply With Quote #1

need a plugin that can set starting ap for admins
access : Admin_H

need another plugin that can set starting ap for those top 3 players in top 15 excluding admin..

need plugins that can set different skin for top 3 players..
__________________
I0ri is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 12-18-2009 , 11:50   Re: [REQ] Starting AP plugin
Reply With Quote #2

Hahaha, you need something more?
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
I0ri
Senior Member
Join Date: Feb 2009
Old 12-18-2009 , 12:21   Re: [REQ] Starting AP plugin
Reply With Quote #3

can u do it for me?
__________________
I0ri is offline
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 12-19-2009 , 05:44   Re: [REQ] Starting AP plugin
Reply With Quote #4

Admin starting AP
Code:
#include <amxmodx>
#include <zombieplague>

#define ADMIN_H

#if defined ADMIN_H
    #define ADMIN_FLAG ADMIN_LEVEL_H
#endif

new g_iToggle, g_iStartAP

public plugin_init()
{
    register_plugin("[ZP] Admin H AP", "1.0", "007")
    
    g_iToggle = register_cvar("zp_admin_enable", "1")
    g_iStartAP = register_cvar("zp_admin_start_ap", "10")
}

public client_putinserver(id)
{
    #if defined ADMIN_H
        if(!(get_user_flags(id) & ADMIN_FLAG))
            return PLUGIN_CONTINUE
    #endif
    
    if(get_pcvar_num(g_iToggle) == 1)
    {
        zp_set_user_ammo_packs(id, get_pcvar_num(g_iStartAP))
    }
    else
    {
        return PLUGIN_CONTINUE
    }
    return PLUGIN_CONTINUE
}
Idk if you wanted ADMIN_LEVEL_H or the flag h. Tested and working.
EDIT: I heard ZPA(Zombie Plague Advance) is a good server. It shows that your the owner..... I lol'd for a while

Last edited by Excalibur.007; 12-19-2009 at 05:50.
Excalibur.007 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 20:59.


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