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

FrostNades


Post New Thread Reply   
 
Thread Tools Display Modes
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 01-20-2012 , 07:39   Re: FrostNades
Reply With Quote #531

Hello!
Welcome back and good job on the updates on the plugin.

I also have a request if you would like to contribute.
http://forums.alliedmods.net/showthread.php?t=134691
To adapt this plugin to use my NadeTypeAmmo API.

If not, I will do it.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
AmineKyo
فوق سريرك
Join Date: Oct 2011
Location: Morocco
Old 01-22-2012 , 17:26   Re: FrostNades
Reply With Quote #532

Hi, Its A Nice Plugin I Like IT
But I Have Some Few Questions !!!
Can I Set How Nades In One Buy
Ex : I Type say /fn I Receive Two Nades
And So Embarrassed Bcuz My ENGLISH Not Good
__________________
AmineKyo is offline
acrimonious
Junior Member
Join Date: Jan 2012
Old 02-02-2012 , 06:28   Re: FrostNades
Reply With Quote #533

interesting code, thanks
acrimonious is offline
VenusAngelic
Member
Join Date: Dec 2011
Location: Bulgaria, Sofia
Old 02-06-2012 , 13:12   Re: FrostNades
Reply With Quote #534

Quote:
Originally Posted by KadiR View Post
Which resources were included in this plugin?
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#include <fun>
#include <hamsandwich>
__________________
ZombieWave~™ atarx avaiable soon with IP:
zombiewave.servecounterstrike.com:27015

[IMG]http://desmond.**************/Himg513/scaled.php?server=513&filename=92810204.png&r es=medium[/IMG]

Last edited by VenusAngelic; 02-06-2012 at 13:14.
VenusAngelic is offline
Send a message via Skype™ to VenusAngelic
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-06-2012 , 13:31   Re: FrostNades
Reply With Quote #535

Quote:
Originally Posted by VenusAngelic View Post
#include <amxmodx>
#include <cstrike>
#include <fakemeta>
#include <fun>
#include <hamsandwich>
You respond to a post from 2009 (which was already answered) with a completely wrong answer.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
STr!ker
Senior Member
Join Date: Jun 2009
Location: Germany
Old 03-18-2012 , 06:40   Re: FrostNades
Reply With Quote #536

PHP Code:
// override grenade kill message with skull and crossbones
public msg_deathmsg(msg_id,msg_dest,msg_entity)
{
    new 
victim get_msg_arg_int(2);
    if(!
is_user_connected(victim) || !frostKilled[victim]) return PLUGIN_CONTINUE;

    static 
weapon[8];
    
get_msg_arg_string(4,weapon,7);
    if(
equal(weapon,"grenade")) set_msg_arg_string(4,"frostgrenade");

    
frostKilled[victim] = 0;
    return 
PLUGIN_CONTINUE;

Sry but this dont work for me:

if(equal(weapon,"grenade")) set_msg_arg_string(4,"frostgrenade");

Consollog:
L 03/18/2012 - 1176: "Bam! HeadShot voll ins Knie!!!<99><STEAM_0:1:95073><CT>" killed "-=SH=- *Stammi | BLuTsWenDe<101><STEAM_0:0:7313><TERRORIST>" with "grenade" (attacker_position "600 1504 -123") (victim_position "500 1631 -123")
STr!ker is offline
BrownBear
Member
Join Date: May 2011
Location: Malaysia
Old 03-20-2012 , 07:24   Re: FrostNades
Reply With Quote #537

GJ and nice plugin
__________________
BrownBear is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-24-2012 , 22:22   Re: FrostNades
Reply With Quote #538

Quote:
Originally Posted by ot_207 View Post
Hello!
Welcome back and good job on the updates on the plugin.

I also have a request if you would like to contribute.
http://forums.alliedmods.net/showthread.php?t=134691
To adapt this plugin to use my NadeTypeAmmo API.

If not, I will do it.
Sorry, I don't have the time to do this, but it looks like you've already taken care of it. Cool!

Quote:
Originally Posted by AmineKyo View Post
Hi, Its A Nice Plugin I Like IT
But I Have Some Few Questions !!!
Can I Set How Nades In One Buy
Ex : I Type say /fn I Receive Two Nades
And So Embarrassed Bcuz My ENGLISH Not Good
Sorry, there's no easy way to do this right now.

Quote:
Originally Posted by STr!ker View Post
Sry but this dont work for me:

if(equal(weapon,"grenade")) set_msg_arg_string(4,"frostgrenade");

Consollog:
L 03/18/2012 - 1176: "Bam! HeadShot voll ins Knie!!!<99><STEAM_0:1:95073><CT>" killed "-=SH=- *Stammi | BLuTsWenDe<101><STEAM_0:0:7313><TERRORIST>" with "grenade" (attacker_position "600 1504 -123") (victim_position "500 1631 -123")
Interesting, thanks. Does the kill icon look different at least? Try putting frostnades.amxx at the top plugins.ini and let me know if it makes any difference.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 03-24-2012 at 22:22.
XxAvalanchexX is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 03-25-2012 , 01:54   Re: FrostNades
Reply With Quote #539

OK Arkshine, I think I've finally implemented your suggested changes regarding the messages, thanks. Let me know if I'm still missing something.

This version could probably use some public testing for the icon stuff, because while I think I did a fairly good job of testing, it's possible I missed some odd scenario that might trip things up.

Ava

P.S. Regarding my problem with give_item not calling any hooks when the player already had an item: I may've actually been calling cs_set_user_bpammo instead of give_item in this case, which would explain it.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS

Last edited by XxAvalanchexX; 03-25-2012 at 02:00.
XxAvalanchexX is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-25-2012 , 05:07   Re: FrostNades
Reply With Quote #540

It sounds good now.

You could use Cvar Utilities and CvarCache() to get rid of the 50+ natives calls to gain in efficiency and spaces, but I won't force you.

Time to be approved again !
__________________
Arkshine 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 15:35.


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