Raised This Month: $ Target: $400
 0% 

[ZP] Extra Items : Buy weapons


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Ciio
Veteran Member
Join Date: Oct 2009
Location: Arica, Chile
Old 12-02-2009 , 19:00   [ZP] Extra Items : Buy weapons
Reply With Quote #1

Well today I present some extra items that I just made simple
They are to buy weapons, I did not post all the weapons it would have a separate whole page so here they are:

Description of all weapons:

- When buying canned all your weapons.
- Comes with 90 bullets for reloading.

Includes all weapons:

PHP Code:
#include <amxmodx>
#include <zombieplague>
#include <fun>
#include <cstrike> 
Buy AK47
Rant: Get Plugin or Get Source (zp_extra_AK47.sma - 0 views - 475 Bytes)

Buy Famas
Dowload: Get Plugin or Get Source (zp_extra_FAMAS.sma - 0 views - 482 Bytes)

Buy Galil
Dowload: Get Plugin or Get Source (zp_extra_GALIL.sma - 0 views - 482 Bytes)

Buy M3
Dowload: Get Plugin or Get Source (zp_extra_m3.sma - 0 views - 467 Bytes)

Buy M4A1
Dowload: Get Plugin or Get Source (zp_extra_M4A1.sma - 0 views - 477 Bytes)

Buy MAC10
Dowload: Get Plugin or Get Source (zp_extra_MAC10.sma - 0 views - 483 Bytes)

Buy MP5
Dowload: Get Plugin or Get Source (zp_extra_MP5.sma - 0 views - 478 Bytes)

Buy P90
Dowload: Get Plugin or Get Source (zp_extra_P90.sma - 0 views - 470 Bytes)

Buy XM1014
Dowload: Get Plugin or Get Source (zp_extra_XM1014.sma - 0 views - 485 Bytes)

Buy TMP
Dowload: Get Plugin or Get Source (zp_extra_TMP.sma - 0 views - 470 Bytes)
__________________

Last edited by Ciio; 12-02-2009 at 19:02.
Ciio is offline
Send a message via MSN to Ciio
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 12-02-2009 , 19:23   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #2

any one can edit thier zombie plague.ini and add their own guns ^_^ only takes 1 sec to do
__________________
Zombiezzz is offline
metallicawOw
Veteran Member
Join Date: Jun 2009
Location: Anywhere
Old 12-02-2009 , 19:55   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #3

Quote:
Originally Posted by Ciio View Post
Well today I present some extra items that I just made simple
They are to buy weapons, I did not post all the weapons it would have a separate whole page so here they are:

Description of all weapons:

- When buying canned all your weapons.
- Comes with 90 bullets for reloading.

Includes all weapons:

PHP Code:
#include <amxmodx>
#include <zombieplague>
#include <fun>
#include <cstrike> 
Buy AK47
Rant: Get Plugin or Get Source (zp_extra_AK47.sma - 0 views - 475 Bytes)

Buy Famas
Dowload: Get Plugin or Get Source (zp_extra_FAMAS.sma - 0 views - 482 Bytes)

Buy Galil
Dowload: Get Plugin or Get Source (zp_extra_GALIL.sma - 0 views - 482 Bytes)

Buy M3
Dowload: Get Plugin or Get Source (zp_extra_m3.sma - 0 views - 467 Bytes)

Buy M4A1
Dowload: Get Plugin or Get Source (zp_extra_M4A1.sma - 0 views - 477 Bytes)

Buy MAC10
Dowload: Get Plugin or Get Source (zp_extra_MAC10.sma - 0 views - 483 Bytes)

Buy MP5
Dowload: Get Plugin or Get Source (zp_extra_MP5.sma - 0 views - 478 Bytes)

Buy P90
Dowload: Get Plugin or Get Source (zp_extra_P90.sma - 0 views - 470 Bytes)

Buy XM1014
Dowload: Get Plugin or Get Source (zp_extra_XM1014.sma - 0 views - 485 Bytes)

Buy TMP
Dowload: Get Plugin or Get Source (zp_extra_TMP.sma - 0 views - 470 Bytes)
3 Words,

WHAT THE FUCK

Nothing More.
__________________

metallicawOw is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 12-02-2009 , 20:08   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #4

well all in all this plugin is a good idea just that theres an easier way to do it with just editng ur configs ^_^
__________________
Zombiezzz is offline
last_hope
Senior Member
Join Date: Dec 2011
Old 02-11-2012 , 17:10   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #5

ty for this, it helps custom sort menu
last_hope is offline
Send a message via ICQ to last_hope
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 02-11-2012 , 17:18   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #6

Quote:
Originally Posted by last_hope View Post
ty for this, it helps custom sort menu
You know you revived 3 years old thread
-->
https://forums.alliedmods.net/misc.php?do=showrules
__________________
H.RED.ZONE is offline
last_hope
Senior Member
Join Date: Dec 2011
Old 02-11-2012 , 18:09   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #7

pervious weapon not dropped
last_hope is offline
Send a message via ICQ to last_hope
last_hope
Senior Member
Join Date: Dec 2011
Old 02-11-2012 , 19:34   Re: [ZP] Extra Items : Buy weapons
Reply With Quote #8

This code works fine:
Code:
#include <amxmodx>
#include <zombieplague>
#include <fun>
#include <cstrike>
const PRIMARY_WEAPONS_BIT_SUM = (1<<CSW_SCOUT)|(1<<CSW_XM1014)|(1<<CSW_MAC10)|(1<<CSW_AUG)|(1<<CSW_UMP45)|(1<<CSW_SG550)|(1<<CSW_GALIL)|(1<<CSW_FAMAS)|(1<<CSW_AWP)|(1<<CSW_MP5NAVY)|(1<<CSW_M249)|(1<<CSW_M3)|(1<<CSW_M4A1)|(1<<CSW_TMP)|(1<<CSW_G3SG1)|(1<<CSW_SG552)|(1<<CSW_AK47)|(1<<CSW_P90)
new g_comprar

public plugin_init()
{
register_plugin("[ZP] Extra Item: AK47", "1.0", "Ciio") 
g_comprar = zp_register_extra_item("AK47", 10, ZP_TEAM_HUMAN)

}

public zp_extra_item_selected(id, itemid)
{
if (itemid ==g_comprar)
{
static weapons[32], num, i, weaponid
     num = 0
     get_user_weapons(id, weapons, num)
     
     for (i = 0; i < num; i++)
     {
          weaponid = weapons[i]
          
          if (((1<<weaponid) & PRIMARY_WEAPONS_BIT_SUM))
          {
               static wname[32]
               get_weaponname(weaponid, wname, sizeof wname - 1)
               engclient_cmd(id, "drop", wname)
          }
		  }
give_item (id, "weapon_ak47")
cs_set_user_bpammo(id, CSW_AK47, 90)
}
}

Last edited by last_hope; 02-11-2012 at 19:35.
last_hope is offline
Send a message via ICQ to last_hope
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 05:43.


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