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

Weapons War v7.5 (26 Weapons)


Post New Thread Reply   
 
Thread Tools Display Modes
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-21-2014 , 03:38   Re: Addon: Free Grenade (ZP compatible) v2.2
Reply With Quote #11

Just a question.. why not use new amxx menu style ? Use remove_task when the task is complete, I mean in task2, but you should create a taskid first. Don't use stocks from fm_util, use fun/fakemeta/engine instead. Other than that, nice ideea.
HamletEagle is offline
DonKisgot
Senior Member
Join Date: Dec 2010
Old 07-21-2014 , 04:59   Re: Addon: Free Grenade (ZP compatible) v2.2
Reply With Quote #12

Thank you for quick update is there any cvar for setting the free grenade type for killing ? I mean I want only admins gets free HE Granade after killing victim. Don't want them get FLASH grenade.How can ı set this ?


Also here is the new translation for Turkish

Code:
MENU_1 = Normal Bomba Paketi
MENU_2 = El Bombasi
MENU_3 = Flash Bombasi
ZP_MENU_1 = Normal Bomba Paketi
ZP_MENU_2 = Ates Bombasi
ZP_MENU_3 = Dondurucu Bomba
MENU_EXIT = Cikis

ADVERTISE_1 = Ucretsiz bomba kazanabilirsiniz!
ADVERTISE_2 = /freegrenade komutuyla ucretsiz bomba menusunu acabilirsiniz.

WORD_1 = Bomba paketi kazandiniz.
WORD_2 = El bombasi kazandiniz.
WORD_3 = Flash bombasi kazandiniz.
WORD_4 = Bir rakibi oldurdun ve El bombasi kazandin!
WORD_5 = Bir rakibi oldurdun ve Flash bombasi kazandin!

ZP_WORD_2 = Ates bombasi kazandin.
ZP_WORD_3 = Buz bombasi kazandin.
ZP_WORD_4 = Bir zombi oldurdun ve Ates bombasi kazandin.
ZP_WORD_5 = Bir zombi oldurdun ve Buz bombasi kazandin.

ADMIN_ACCESS = Sadece adminler kullanabilir.
DonKisgot is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-21-2014 , 05:27   Re: Addon: Free Grenade (ZP compatible) v2.2
Reply With Quote #13

Quote:
Originally Posted by DonKisgot View Post
Is there any cvar for setting the free grenade type for killing ? I mean I want only admins gets free HE Granade after killing victim. Don't want them get flash grenade.How can I set this?
Please open the free_grenade_admin.sma file. Then, find this:
PHP Code:
g_enabled_g1 register_cvar("enable_fire_grenade_bonus""1")  // Enable the fire/ HE grenade bonus for killing.
g_enabled_g2 register_cvar("enable_frost_grenade_bonus""1")  // Enable the frost/ flashbang bonus for killing. 
Just edit the value.

However, thank you for the translation. I will update it.

Quote:
Originally Posted by HamletEagle View Post
Just a question, why not use new amxx menu style?
Sorry, i did not know that. I will consider to use the new amxx menu style.
Quote:
Originally Posted by HamletEagle View Post
use remove_task when the task is complete, I mean in task2, but you should create a taskid first. Don't use stocks from fm_util, use fun/fakemeta/engine instead.
Thank you for the suggestion, I will fix it.
Quote:
Originally Posted by HamletEagle View Post
Other than that, nice idea.
Thank you.

Last edited by zmd94; 07-21-2014 at 05:28.
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-21-2014 , 07:25   Re: Addon: Free Grenade (ZP compatible) v2.2
Reply With Quote #14

To do list:
Quote:
1. I'm will using new amxx menu style.
2. I'm will remove stocks from fm_util, and will use fun instead as suggested by HamletEagle.
3. etc
Feel free to share your suggestion, so that I can fix this plugin.
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-21-2014 , 14:48   Re: Addon: Grenade Wars (ZP compatible) v3.0
Reply With Quote #15

New update!
Quote:
v2.5 - [ADDED] Remove task function.
v3.0 - [FIXED] Remove the used of stocks from fm_util, then use fun instead.
Credits:
Quote:
1. H.RED.ZONE for code helping.
2. HamletEagle for suggestions.
Feel free to test it.
zmd94 is offline
yokomo
Surprise Ascot!
Join Date: May 2010
Location: Malaysia
Old 07-21-2014 , 22:27   Re: Addon: Grenade Wars (ZP compatible) v3.0
Reply With Quote #16

Doesn't sound like a grenade war for me, this is more like "Free nade giver". If you want to say "grenade war" then it need unlimited grenades.

For example:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <cstrike>
#include <fun>

#define NadeCount 254

public plugin_init()
{
    
register_plugin("Unlimited HE Grenade""0.0.1""wbyokomo")
    
    
RegisterHam(Ham_Spawn"player""OnPlayerSpawnPost"1)
}

public 
OnPlayerSpawnPost(id)
{
    if(!
is_user_alive(id)) return;
    
    
strip_user_weapons(id//allow only HE grenade
    
give_item(id"weapon_hegrenade")
    
cs_set_user_bpammo(idCSW_HEGRENADENadeCount)

__________________
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

Last edited by yokomo; 07-21-2014 at 22:28.
yokomo is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-21-2014 , 22:34   Re: Addon: Grenade Wars (ZP compatible) v3.0
Reply With Quote #17

Quote:
Originally Posted by yokomo View Post
Doesn't sound like a grenade war for me, this is more like "Free Nade Giver". If you want to say "Grenade War" then it need unlimited grenades.
Thank for the suggestion.

I will add an option that people can choose whether they want to use this plugin as:
Quote:
1. "Free Nade Giver" plugin.
2. "Grenade War" plugin
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-22-2014 , 08:42   Re: Addon: Grenades War + Free Nade Giver (ZP compatible) v4.0
Reply With Quote #18

New update!
Quote:
v4.0 - [ADDED] Admin can start a "Grenade War" round.
Credit:
Quote:
Yokomo for suggestion and code helping.
@ DonKisgot. May you update the translation for Turkish?

zmd94 is offline
Drissdev1
Senior Member
Join Date: Jun 2014
Old 07-22-2014 , 17:03   Re: Addon: Grenades War + Free Nade Giver (ZP compatible) v4.0
Reply With Quote #19

HMmmmm Cool Plug Good zmd94 <3
__________________
Drissdev1 is offline
DonKisgot
Senior Member
Join Date: Dec 2010
Old 07-22-2014 , 19:07   Re: Addon: Grenades War + Free Nade Giver (ZP compatible) v4.0
Reply With Quote #20

@zmd94 ı saw only 1 thing diffrent.

MODE_MENU = Bomba Savasi Turunu Baslat!

Here you go
DonKisgot is offline
Reply


Thread Tools
Display Modes

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:34.


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