Raised This Month: $ Target: $400
 0% 

[ZP] Addon: Buy Classes v2.0 [31/12/2009]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-10-2010 , 06:36   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #1

Quote:
Originally Posted by Daniyaal View Post
How to make zombie buy nemesis???? This plugin is only for Humans.. I want it same but one thing change in it that is zombie can buy nemesis.. please any one set it for me.. Please
PHP Code:
#include <amxmodx>
#include <zombieplague>

g_item_nem

public plugin_init()
{
    
register_plugin("[ZP] Extra Item: Buy Nemesis""1.0""???")
    
g_item_nem zp_register_extra_item("Buy Nemesis"35ZP_TEAM_ZOMBIE)
}

public 
zp_extra_item_selected(iditem)
{
    if (
item != g_item_nem)
        return;
    
    
zp_make_user_nemesis(id)

__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-10-2010 , 08:56   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #2

Quote:
Originally Posted by georgik57 View Post
PHP Code:
#include <amxmodx>
#include <zombieplague>

g_item_nem

public plugin_init()
{
    
register_plugin("[ZP] Extra Item: Buy Nemesis""1.0""???")
    
g_item_nem zp_register_extra_item("Buy Nemesis"35ZP_TEAM_ZOMBIE)
}

public 
zp_extra_item_selected(iditem)
{
    if (
item != g_item_nem)
        return;
    
    
zp_make_user_nemesis(id)


Code:
#include <amxmodx> #include <zombieplague> new g_item_nem public plugin_init() g_item_nem = zp_register_extra_item("Buy Nemesis", 35, ZP_TEAM_ZOMBIE) public zp_extra_item_selected(id, item) if (item == g_item_nem)     zp_make_user_nemesis(id)
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 11-10-2010 , 12:02   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #3

Quote:
Originally Posted by abdul-rehman View Post

Code:
#include <amxmodx> #include <zombieplague> new g_item_nem public plugin_init() g_item_nem = zp_register_extra_item("Buy Nemesis", 35, ZP_TEAM_ZOMBIE) public zp_extra_item_selected(id, item) if (item == g_item_nem)     zp_make_user_nemesis(id)
wrong
what you just did uses more memory & cpu and also the plugin won't be displayed in the amxx plugins menu
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 11-10-2010 , 12:11   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #4

Quote:
Originally Posted by georgik57 View Post
wrong
what you just did uses more memory & cpu and also the plugin won't be displayed in the amxx plugins menu
Can you tell me how it uses more cpu
And btw i wanted to point out that you forgot to put "new" before declaring that variable!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
FuzZy
Junior Member
Join Date: Nov 2007
Location: Romania
Old 02-12-2011 , 17:58   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #5

this plugin not working for ZPA 1.6.1 ...appear in extra items menu but don't buy ...
__________________
FuzZy is offline
Send a message via Yahoo to FuzZy
NickuGeorge
Senior Member
Join Date: Mar 2011
Location: Romania
Old 04-25-2011 , 08:05   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #6

for ZPA 1.6.1 ????
__________________

NickuGeorge is offline
Send a message via Yahoo to NickuGeorge
Nad
Junior Member
Join Date: Jan 2012
Old 01-29-2012 , 13:17   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #7

Is there A way to make players can buy it once in a map ?
Nad is offline
Widgets
Member
Join Date: May 2013
Old 06-19-2013 , 15:20   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #8

hi, possible to do it for: Zombie Plague 5.0.8 ???
it would be awesome.. but still i couldn't find that plugin what's working for 5.0.8,

i mean buy nemesis/survivor/sniper/assassin from VIP menu.
Widgets is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 06-20-2013 , 01:36   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #9

Quote:
Originally Posted by Widgets View Post
hi, possible to do it for: Zombie Plague 5.0.8 ???
it would be awesome.. but still i couldn't find that plugin what's working for 5.0.8,

i mean buy nemesis/survivor/sniper/assassin from VIP menu.

Search....
__________________
You will find everything u need :-
Catastrophe is offline
Widgets
Member
Join Date: May 2013
Old 06-21-2013 , 00:47   Re: [ZP] Addon: Buy Classes v2.0 [31/12/2009]
Reply With Quote #10

u are rly helpful.. i did, but nothing what's working on 5.0.8 ://
Widgets 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 01:24.


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