Raised This Month: $ Target: $400
 0% 

Suggestion / Subplugin Request [Req] Need ZP Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 12-18-2011 , 23:48   Re: [Req] Need ZP Plugin
Reply With Quote #1

PHP Code:
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <zombieplague>

#define PLUGIN "FLAG M Ability"
#define VERSION "0.1"
#define AUTHOR "MuhdZaim"

new cvar_ammo

public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
cvar_ammo register_cvar("zp_flag_a_ammo""5")
}

public 
client_connect(id
{
    if ( 
is_user_connected(id) )
    {
        if ( 
get_user_flags(id) && ADMIN_LEVEL_A )
        {
            
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) + get_pcvar_numcvar_ammo ) )
        }
    }

__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.

Last edited by JoKeR LauGh; 12-18-2011 at 23:52.
JoKeR LauGh is offline
yOou Know Me
BANNED
Join Date: Oct 2009
Old 12-19-2011 , 13:28   Re: [Req] Need ZP Plugin
Reply With Quote #2

The plugin is running but it gives me nothing..
yOou Know Me 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 00:28.


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