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

Subplugin Submission Zombie Plague Shade 1.1.2 [Developer Preview] (27 March 2016)


Post New Thread Reply   
 
Thread Tools Display Modes
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 12-13-2014 , 15:55   Re: ZPlague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #131

ROKronoS what about this https://forums.alliedmods.net/showpo...&postcount=107 ?
WaLkMaN is offline
ROKronoS
Senior Member
Join Date: Oct 2010
Location: Bucharest, Romania
Old 12-13-2014 , 16:08   Re: ZPlague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #132

Forgot to upload it (modified the latest build)
Attached Files
File Type: sma Get Plugin or Get Source (zplague_shade_1.1.sma - 401 views - 450.7 KB)
__________________
ROKronoS is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 12-13-2014 , 20:05   Re: ZPlague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #133

What do you think about nightmare mode ? ( https://forums.alliedmods.net/showpo...0&postcount=24 )

Last edited by WaLkMaN; 12-13-2014 at 20:06.
WaLkMaN is offline
ROKronoS
Senior Member
Join Date: Oct 2010
Location: Bucharest, Romania
Old 12-14-2014 , 12:00   Re: ZPlague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #134

Quote:
Originally Posted by WaLkMaN View Post
What do you think about nightmare mode ? ( https://forums.alliedmods.net/showpo...0&postcount=24 )
I don't know what to say about it because right now I don't know where the development of the plugin will go.
__________________
ROKronoS is offline
cobra.
Junior Member
Join Date: Dec 2014
Old 12-14-2014 , 19:19   Re: Zombie Plague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #135

Help My plasee

L 12/14/2014 - 14:01:15: [AMXX] Plugin file open error (plugin "zp_zcls_warlock.amxx")
L 12/14/2014 - 14:019: [ZP] Invalid Player (0)
L 12/14/2014 - 14:019: [AMXX] Displaying debug trace (plugin "zp_zclass_burner.amxx")
L 12/14/2014 - 14:019: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 12/14/2014 - 14:019: [AMXX] [0] zp_zclass_burner.sma::zp_user_infected_post (line 97)
L 12/14/2014 - 14:019: [ZP] Invalid Player (0)
L 12/14/2014 - 14:019: [AMXX] Displaying debug trace (plugin "zp_zclass_hunt.amxx")
L 12/14/2014 - 14:019: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 12/14/2014 - 14:019: [AMXX] [0] zp_zclass_hunt.sma::zp_user_infected_post (line 57)
L 12/14/2014 - 14:019: [ZP] Invalid Player (0)
L 12/14/2014 - 14:019: [AMXX] Displaying debug trace (plugin "zp_zclass_predator4.amxx")
L 12/14/2014 - 14:019: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 12/14/2014 - 14:019: [AMXX] [0] zp_zclass_predator4.sma::zp_user_infected_pos t (line 97)
L 12/14/2014 - 14:02:01: [ZP] Invalid Player (0)
L 12/14/2014 - 14:02:01: [AMXX] Displaying debug trace (plugin "zp_zclass_burner.amxx")
L 12/14/2014 - 14:02:01: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 12/14/2014 - 14:02:02: [AMXX] [0] zp_zclass_burner.sma::zp_user_infected_post (line 97)
L 12/14/2014 - 14:02:02: [ZP] Invalid Player (0)
L 12/14/2014 - 14:02:02: [AMXX] Displaying debug trace (plugin "zp_zclass_hunt.amxx")
L 12/14/2014 - 14:02:02: [AMXX] Run time error 10: native error (native "zp_get_user_zombie_class")
L 12/14/2014 - 14:02:02: [AMXX] [0] zp_zclass_hunt.sma::zp_user_infected_post (line 57)

Last edited by cobra.; 12-14-2014 at 19:29.
cobra. is offline
limbric
Member
Join Date: Aug 2014
Old 12-25-2014 , 03:36   Re: Zombie Plague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #136

You need to change the native "zp_get_user_zombie_class" into "native_get_user_zombie_class" ( i think this is the new native for zshade, if not, check the include folder and you will see there the changes ).
limbric is offline
DarkmaNbG
Junior Member
Join Date: Jan 2015
Old 01-03-2015 , 16:05   Re: Zombie Plague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #137

GJ .
I like to use it
DarkmaNbG is offline
ghost95v
Senior Member
Join Date: Apr 2014
Location: somewhere in universe
Old 01-25-2015 , 10:42   Re: Zombie Plague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #138

How can i get the last mode in a external plugin, with native "zp_get_last_mode" ? an example pls ?...
__________________
ghost95v is offline
Send a message via Skype™ to ghost95v
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 01-25-2015 , 18:09   Re: Zombie Plague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #139

Quote:
Originally Posted by ghost95v View Post
How can i get the last mode in a external plugin, with native "zp_get_last_mode" ? an example pls ?...
Maybe its like native zp_gamemodes_get_current()...
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP





New.ZM.Life is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 01-25-2015 , 19:54   Re: Zombie Plague Shade v1.1 [with Item Limiter] (10 December 2014)
Reply With Quote #140

Quote:
Originally Posted by ghost95v View Post
How can i get the last mode in a external plugin, with native "zp_get_last_mode" ? an example pls ?...
PHP Code:
#include <amxmodx>
#include <zombieplague>

new g_buy_survivor;
new 
g_item_survivor[] = "Become Survivor";
new 
g_cost_survivor 200;

new 
g_buy_nemesis;
new 
g_item_nemesis[] = "Become Nemesis";
new 
g_cost_nemesis 200;

public 
plugin_init()
{
        
register_plugin "[ZPS] Buy Classes (Nm & Sv)""2.0""KronoS" ;
    
        
g_buy_survivor zp_register_extra_itemg_item_survivorg_cost_survivorZP_TEAM_HUMAN );
        
g_buy_nemesis zp_register_extra_itemg_item_nemesisg_cost_nemesisZP_TEAM_HUMAN );
}

public 
zp_extra_item_selectedindexitem )
{
        if ( 
item != g_buy_survivor && item != g_buy_nemesis )
            return 
PLUGIN_CONTINUE;
    
        if ( 
zp_has_round_started( ) )
            return 
ZP_PLUGIN_HANDLED;

    if ( 
zp_get_last_mode() == MODE_NEMESIS || zp_get_last_mode() == MODE_SURVIVOR )
    {
        
client_printindexprint_chat"[ZP] You can't buy a mode because one was played recently!" );
            return 
ZP_PLUGIN_HANDLED;
    }    
    
        if ( 
item == g_buy_survivor )
        
zp_make_user_survivorindex );
        else if ( 
item == g_buy_nemesis )
        
zp_make_user_nemesisindex );
    
        return 
PLUGIN_CONTINUE;

WaLkMaN 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 18:40.


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