Page 1 of 1

Hellp

Posted: 03 Oct 2018, 21:41
by Amine_escaper_dz
http://www.mediafire.com/file/42b5jf7cbmr4pan/Guillot ..
Can some one change this gun (sma) to knife

Re: Hellp

Posted: 08 Oct 2018, 05:15
by Night Fury
Explain.

Re: Hellp

Posted: 08 Oct 2018, 20:30
by sPe3doN
Jack GamePlay wrote: 5 years agoExplain.
He want this items to vip only when Game start vip get this item as knife
here : viewtopic.php?f=14&t=141

Re: Hellp

Posted: 08 Oct 2018, 20:52
by Amine_escaper_dz
Yes when start round VIP get item as knife like server world war zombie escape

Re: Hellp

Posted: 09 Oct 2018, 08:28
by Raheem
  1. #include <zombie_escape>
  2. #include <ze_vip>
  3.  
  4. public plugin_init()
  5. {
  6.     register_plugin("Give Knife", "1.0", "Raheem")
  7. }
  8.  
  9. public ze_user_humanized(id)
  10. {
  11.     if (ze_get_vip_flags(id) & VIP_A)
  12.     {
  13.         ze_force_buy_item(id, ze_get_item_id("Blood Dripper"), 1)
  14.     }
  15. }

You will need to install this item, and VIPS will get it every new round for free.

Re: Hellp

Posted: 09 Oct 2018, 12:05
by Amine_escaper_dz
Raheem wrote: 5 years ago
  1. #include <zombie_escape>
  2. #include <ze_vip>
  3.  
  4. public plugin_init()
  5. {
  6.     register_plugin("Give Knife", "1.0", "Raheem")
  7. }
  8.  
  9. public ze_user_humanized(id)
  10. {
  11.     if (ze_get_vip_flags(id) & VIP_A)
  12.     {
  13.         ze_force_buy_item(id, ze_get_item_id("Blood Dripper"), 1)
  14.     }
  15. }

You will need to install this item, and VIPS will get it every new round for free.
But blood diper is gun not knife

Re: Hellp

Posted: 09 Oct 2018, 12:29
by Raheem
I think it's knife, or what you mean?

Re: Hellp

Posted: 09 Oct 2018, 16:25
by Night Fury
Download the gun from here: viewtopic.php?f=14&t=141
Open the source file & find:

  1. #define CSW_BDRIPPER CSW_MAC10
  2. #define weapon_guillotine "weapon_mac10"
  3. #define old_event "events/mac10.sc"
  4. #define old_w_model "models/w_mac10.mdl"

& replace it with this:

  1. #define CSW_BDRIPPER CSW_KNIFE
  2. #define weapon_guillotine "weapon_knife"
  3. #define old_event "events/knife.sc"
  4. #define old_w_model "models/w_knife.mdl"