Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)


Post New Thread Reply   
 
Thread Tools Display Modes
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 01-11-2012 , 01:02   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #51

It doesn't help
__________________
Snaker beatter is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 01-11-2012 , 02:17   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #52

Quote:
Originally Posted by Snaker beatter View Post
It doesn't help
Snaker you know that it will be removed from plugin list after you create spawn places its not that big of a deal i removed it..not even in my plugin file
__________________
H.RED.ZONE is offline
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 01-11-2012 , 02:29   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #53

Okay i will make some spawn points for my zm maps
__________________
Snaker beatter is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-11-2012 , 05:03   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #54

All you shouldn't care about that plugin. That is a sub-plugin.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-11-2012 , 06:27   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #55

Any one upload some spawn points please? (de_dust, de_dust2, zm_fortuna, zm_crib)
__________________
Isaac999 is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 01-11-2012 , 07:23   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #56

dias
Use spawn point+spawn point preset from CSDM, it's easy to use no error found. I use this method for my previous supply box plugin. Just need some editing in CSDM spawnpoint preset plugin.
__________________
Team-MMG CS1.6 Servers:
✅ MultiMod -- 103.179.44.152:27016
✅ Zombie Plague -- 103.179.44.152:27015
✅ Zombie Escape -- 103.179.44.152:27017
✅ Klassik Kombat -- 103.179.44.152:27018
✅ Boss-Battle -- 103.179.44.152:27019
yokomo is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-11-2012 , 08:35   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #57

^
It just a small error from sub-plugin and it won't make error from main plugin
- use the CSDM spawnpoint if they want

@NOTICE:
- You should turn off the sub-plugin when finish. otherwise someone can break your sv

Last edited by dias; 01-11-2012 at 08:41.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
choco@.@
Member
Join Date: Jan 2012
Location: 한국 S.Korea
Old 01-30-2012 , 10:32   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #58

Hey Guys, try this code to giving ammo packs too.

PHP Code:
public fw_supplybox_touch(entid)
{
 if (!
pev_valid(ent) || !is_user_alive(id) || zp_get_user_zombie(id)
 || 
zp_get_user_survivor(id) || zp_get_user_nemesis(id) || g_supplybox_wait[id]) 
  return 
FMRES_IGNORED
 
 
static classname[32]
 
entity_get_string(ent,EV_SZ_classname,classname,31)
 
 if (
equal(classnameSUPPLYBOX_CLASSNAME))
 {
  static 
item_iditem[64]
  
item_id entity_get_int(entEV_INT_iuser1)
  
ArrayGetString(supplybox_itemitem_iditemcharsmax(item))
  static 
name[32]
  
get_user_name(idnamesizeof(name)) 
  new 
land random_num(1,16)
  switch(
land)
  {
   case 
1,2,3,4,5:
   {
    
zp_force_buy_extra_item(idzp_get_extra_item_id(item), 1)
    
client_print(0print_center"%s님이 보급품상자에서 %s를 획득했습니다!"nameitem)   
   }
   
   case 
6,7,8:
   {
    
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) + 1)
    
client_print(0print_center"%s님이 보급품상자에서 1포인트를 획득했습니다!"name)
   }
   case 
9:
   {
    
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) + 3)
    
client_print(0print_center"%s님이 보급품상자에서 3포인트를 획득했습니다!"name)    
   }
   case 
10,11,12,13:
   {
    
zp_set_user_ammo_packs(idzp_get_user_ammo_packs(id) + 2)
    
client_print(0print_center"%s님이 보급품상자에서 2포인트를 획득했습니다!"name)    
   }
   case 
14,15,16:
   {
    
client_print(0print_center"%s님이 보급품상자에서 아무것도 획득하지 못했습니다 ㅠㅠ"name)    
   }   
   
  }
  
  static 
random_sound
  random_sound 
random_num(0charsmax(supplybox_pickup_sound))
  
emit_sound(idCHAN_VOICEsupplybox_pickup_sound[random_sound], 1.0ATTN_NORM0PITCH_NORM)
  new 
num_box entity_get_int(entEV_INT_iuser2)
  
supplybox_ent[num_box] = 0
  remove_entity
(ent)
  
g_supplybox_wait[id] = 1
  
if (task_exists(id+TASK_SUPPLYBOX_WAIT)) remove_task(id+TASK_SUPPLYBOX_WAIT)
  
set_task(2.0"remove_supplybox_wait"id+TASK_SUPPLYBOX_WAIT)
 }
 
 return 
FMRES_IGNORED

Modify the message yourselves.... Because i'm too lazy
choco@.@ is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 01-30-2012 , 11:24   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #59

님이 보급품상자에서 아무것도 획득하지 못했습니다
Modify message o.OOO
__________________
H.RED.ZONE is offline
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 01-30-2012 , 20:23   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #60

"님이 보급품상자에서 아무것도 획득하지 못했습니다"

It happens when you close amxx-studio unproperly
__________________
Snaker beatter 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:44.


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