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

[ZP] Addon: First Zombie Bonus Menu.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fl0werD
Senior Member
Join Date: May 2011
Old 06-06-2011 , 06:04   [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #1

Автор: [WPMG]fl0wer
Версия: 0.1

[Description]
Quote:
- When did you first become a zombie is a menu with the option to buy Nemesis.
[Making]
Quote:
Color Chat.
When buying, the message in the chat.
If you do not have enough ammo packs then wrote: "Sorry. Not enough Ammo packs."
[Settings]
Code:
#define NEMESIS_COST // Cost Nemesis.
[Change Log]
Quote:
- 0.1 First Released
- 0.2 Now the menu is the cost of Nemesis.
[DownLoad]
zp_addon_first_zombie_bonus_menu.sma
CopyRight (c) [WPMG]fl0wer
fl0werD is offline
Send a message via ICQ to fl0werD
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 06-06-2011 , 07:44   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #2

Cool

Last edited by dias; 06-06-2011 at 10:23.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
fl0werD
Senior Member
Join Date: May 2011
Old 06-06-2011 , 08:47   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #3

Quote:
Originally Posted by dias View Post
Cool
Thanks.
fl0werD is offline
Send a message via ICQ to fl0werD
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 06-06-2011 , 10:23   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #4

added your thread to "A New Plugins List"...
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-06-2011 , 11:13   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #5

niceee can you make it with buy assassin also please ??
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
GuTo
Senior Member
Join Date: Mar 2010
Location: Brazil - SP
Old 06-06-2011 , 12:23   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #6

nicee plugin
__________________
GuTo is offline
Send a message via Skype™ to GuTo
34384339
Junior Member
Join Date: Oct 2009
Old 06-07-2011 , 01:37   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #7

Good Job ..Thx ..
34384339 is offline
Gam3ronE
SourceMod Donor
Join Date: Aug 2010
Old 06-08-2011 , 12:35   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #8

Good job thank you for sharing.
Gam3ronE is offline
DSASDFGH
Senior Member
Join Date: Jul 2011
Location: Facebook
Old 08-15-2011 , 16:25   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #9

PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
#define KEYSMENU  MENU_KEY_1 | MENU_KEY_2
#define NEMESIS_COST 25
public plugin_init()
{
 
register_plugin("[ZP] Addon: First Zombie Bonus Menu""0.1""WPMG Team")
 
register_menu("Buy Nemesis?"KEYSMENU"menu_handler")
}
public 
zp_round_started(gamemodeid)
{
 if(
gamemode != MODE_INFECTION)
  return 
PLUGIN_HANDLED
 
if(zp_get_user_first_zombie(id))
 {
  new 
menu[256]
  
formatex(menucharsmax(menu), "\y네메시스를 구입하시겠습니까? \r가격: %d 탄약팩.^n^n\r1. \w%s^n\r2. \w아니오."NEMESIS_COSTzp_get_user_ammo_packs(id) > NEMESIS_COST "\w예." "\d아니오.")
  
show_menu(idKEYSMENUmenu, -1"Buy Nemesis?")
 }
 return 
PLUGIN_CONTINUE
}
public 
menu_handler(idkey)
{
 
key++
 switch(
key)
 {
  case 
1:
  {
   if(
zp_get_user_ammo_packs(id) > NEMESIS_COST)
   {
    
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) - NEMESIS_COST)
    
zp_make_user_nemesis(id)
    
client_printcolor(id"^4[ZP] ^1네메시스를 구입했습니다.")
   }
   else
   {
    
client_printcolor(id"^4[ZP] ^1탄약팩이 부족합니다.")
   }
  }
 }
 return 
PLUGIN_HANDLED
}
stock client_printcolor(const id, const input[], any:...)
{
 new 
iCount 1iPlayers[32]
 static 
szMsg[191]
 
vformat(szMsgcharsmax(szMsg), input3)
 
replace_all(szMsg190"/g""^4")
 
replace_all(szMsg190"/y""^1")
 
replace_all(szMsg190"/ctr""^3")
 
replace_all(szMsg190"/w""^0")
 if(
idiPlayers[0] = id
 
else get_players(iPlayersiCount"ch")
 for (new 
0iCounti++)
 {
  if(
is_user_connected(iPlayers[i]))
  {
   
message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _iPlayers[i])
   
write_byte(iPlayers[i])
   
write_string(szMsg)
   
message_end()
  }
 }

This is korean version ^^ you should save it with UTF-8
DSASDFGH is offline
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 08-16-2011 , 02:05   Re: [ZP] Addon: First Zombie Bonus Menu.
Reply With Quote #10

LOL... Really imba @@
__________________
albert123 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 08:51.


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