marshhhhh

ZP Mod Zombie Plague Advanced 1.6.1

No permission to download
  • You can only download a plugin when you are REGISTERED, so Get yourself Registered first, its FREE and wont take more than 10 Secs

marshhhhh

森羅転生
Staff member
Moderator
May 10, 2018
19
6
3
Kottayam, Kerala
steamcommunity.com
#1
marshhhhh submitted a new resource:

- Zombie Plague is a Counter-Strike server side modification, developed as an AMX Mod X plugin.

Even though it's strongly based on the classic zombie infection mods, it takes the concept to a new level by introducing:
  • New Gameplay Modes: Nemesis, Survivor, Sniper, Assassin, Armageddon, Multi Infection, Swarm, and more
  • Zombie Classes System: allows addding unlimited custom zombie classes
  • Human Classes System: allows addding unlimited custom...
 

soumyadip77

Member
Moderator
Dec 10, 2017
63
4
8
17
#3
In the include folder i saw 3 inc which ones needs to make other plugins?
 

soumyadip77

Member
Moderator
Dec 10, 2017
63
4
8
17
#6
i need 1 plugin where admin with rcon flag can give upto 99999 ap to any player i have one but that allows only 999ap
You must be registered for see images




C++:
i need 1 plugin where admin with rcon flag can give upto 99999 ap to any player i have one but that allows only 999ap :(



/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#include <amxmisc>

#include <zombieplague>



public plugin_init ()

{

register_plugin ( "ZP: Give Ammo", "1.0.0", "Quantum" );

register_clcmd ( "zp_ap", "CmdGiveAP", ADMIN_RCON, "- zp_giveap <name> <amount> : Give Ammo Packs" );

}



public CmdGiveAP ( id, level, cid )

{

if ( !cmd_access ( id, level, cid, 3 ) )

{

return 1;

}



new s_Name[ 32 ], s_Amount[ 4 ];



read_argv ( 1, s_Name, charsmax ( s_Name ) );

read_argv ( 2, s_Amount, charsmax ( s_Amount ) );



new i_Target = cmd_target ( id, s_Name, 2 );



if ( !i_Target )

{

client_print ( id, print_console, "(!) Player not found" );

return 1;

}



zp_set_user_ammo_packs ( i_Target, max ( 1, str_to_num ( s_Amount ) ) );



return PLUGIN_HANDLED;

}
 

soumyadip77

Member
Moderator
Dec 10, 2017
63
4
8
17
#7
ERROR

C++:
L 06/01/2018 - 21:27:55: Start of error session.
L 06/01/2018 - 21:27:55: Info (map "zm_trakinax_tubo") (file "addons/amxmodx/logs/error_20180601.log")
L 06/01/2018 - 21:27:55: [AMXX] Plugin file open error (plugin "zp_game_mode_example.amxx")
L 06/01/2018 - 21:27:55: Function "menu_info" was not found
L 06/01/2018 - 21:27:55: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:55: [AMXX] Run time error 19: function not found
L 06/01/2018 - 21:27:55: [AMXX] [0] amxmisc.inc::register_menu (line 620)
L 06/01/2018 - 21:27:55: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::plugin_init (line 1585)
L 06/01/2018 - 21:27:56: Invalid CVAR pointer
L 06/01/2018 - 21:27:56: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:56: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:27:56: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::cache_cvars (line 7840)
L 06/01/2018 - 21:27:56: Invalid CVAR pointer
L 06/01/2018 - 21:27:56: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:56: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:56: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::event_round_start (line 2035)
L 06/01/2018 - 21:27:56: Invalid CVAR pointer
L 06/01/2018 - 21:27:56: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:56: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:27:56: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::remove_stuff (line 10240)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::reset_vars (line 10372)
L 06/01/2018 - 21:27:57: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::client_putinserver (line 2955)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::fw_SetModel (line 3164)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::fw_SetModel (line 3164)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::reset_vars (line 10372)
L 06/01/2018 - 21:27:57: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::client_putinserver (line 2955)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::fw_SetModel (line 3164)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::fw_SetModel (line 3164)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::reset_vars (line 10372)
L 06/01/2018 - 21:27:57: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::client_putinserver (line 2955)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::fw_SetModel (line 3164)
L 06/01/2018 - 21:27:57: Invalid CVAR pointer
L 06/01/2018 - 21:27:57: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:57: [AMXX] Run time error 10: native error (native "get_pcvar_float")
L 06/01/2018 - 21:27:57: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::fw_SetModel (line 3164)
L 06/01/2018 - 21:27:58: Invalid CVAR pointer
L 06/01/2018 - 21:27:58: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:27:58: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:27:58: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::welcome_msg (line 9412)
L 06/01/2018 - 21:28:00: Invalid CVAR pointer
L 06/01/2018 - 21:28:00: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:28:00: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:28:00: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::cache_cvars (line 7840)
L 06/01/2018 - 21:28:00: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::lighting_effects (line 9548)
L 06/01/2018 - 21:28:05: Invalid CVAR pointer
L 06/01/2018 - 21:28:05: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:28:05: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:28:05: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::cache_cvars (line 7840)
L 06/01/2018 - 21:28:05: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::lighting_effects (line 9548)
L 06/01/2018 - 21:28:10: Invalid CVAR pointer
L 06/01/2018 - 21:28:10: [AMXX] Displaying debug trace (plugin "zombie_plague_advance_v1-6-1.amxx", version "1.6.1")
L 06/01/2018 - 21:28:10: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 06/01/2018 - 21:28:10: [AMXX] [0] zombie_plague_advance_v1-6-1.sma::cache_cvars (line 7840)
L 06/01/2018 - 21:28:10: [AMXX] [1] zombie_plague_advance_v1-6-1.sma::lighting_effects (line 9548)
 

ishchhabra

New Member
Jan 19, 2018
5
0
1
17
#8
i need 1 plugin where admin with rcon flag can give upto 99999 ap to any player i have one but that allows only 999ap
You must be registered for see images




C++:
i need 1 plugin where admin with rcon flag can give upto 99999 ap to any player i have one but that allows only 999ap :(



/* Plugin generated by AMXX-Studio */

#include <amxmodx>

#include <amxmisc>

#include <zombieplague>



public plugin_init ()

{

register_plugin ( "ZP: Give Ammo", "1.0.0", "Quantum" );

register_clcmd ( "zp_ap", "CmdGiveAP", ADMIN_RCON, "- zp_giveap <name> <amount> : Give Ammo Packs" );

}



public CmdGiveAP ( id, level, cid )

{

if ( !cmd_access ( id, level, cid, 3 ) )

{

return 1;

}



new s_Name[ 32 ], s_Amount[ 4 ];



read_argv ( 1, s_Name, charsmax ( s_Name ) );

read_argv ( 2, s_Amount, charsmax ( s_Amount ) );



new i_Target = cmd_target ( id, s_Name, 2 );



if ( !i_Target )

{

client_print ( id, print_console, "(!) Player not found" );

return 1;

}



zp_set_user_ammo_packs ( i_Target, max ( 1, str_to_num ( s_Amount ) ) );



return PLUGIN_HANDLED;

}
Try this :
Code:
/* Sublime AMXX Editor v2.2 */

#include <amxmodx>
#include <amxmisc>
// #include <cstrike>
// #include <engine>
// #include <fakemeta>
// #include <hamsandwich>
// #include <fun>
// #include <xs>
// #include <sqlx>
#include <zombieplague>

#define PLUGIN  "ZP : Give Ammo"
#define VERSION "1.0"
#define AUTHOR  "Ish Chhabra"

public plugin_init()
{
    register_plugin(PLUGIN, VERSION, AUTHOR);
    
    register_clcmd("zp_ap", "CmdGiveAP", ADMIN_RCON);
    // Add your code here...
}

public CmdGiveAP(id, level, cid)
{
    if(!cmd_access(id, level, cid, 2))
    {
        return PLUGIN_HANDLED;
    }

    new szPlayerName[MAX_NAME_LENGTH];
    read_argv(1, szPlayerName, charsmax(szPlayerName));

    new iTarget = cmd_target(id, szPlayerName, CMDTARGET_ALLOW_SELF);
    if(Target)
    {
        zp_set_user_ammo_packs(iTarget, zp_get_user_ammo(iTarget) + read_argv_int(2));
    }

    return PLUGIN_HANDLED;
}