Raised This Month: $ Target: $400
 0% 

Gasnades (like Seen In Axn)


Post New Thread Reply   
 
Thread Tools Display Modes
mmenzie
Senior Member
Join Date: Jul 2004
Location: New Windsor, NY
Old 04-05-2006 , 14:00  
Reply With Quote #121

Quote:
Originally Posted by lickityspliff
PLEASE SOMEONE REVIVE THIS PLUGIN <3<3<3
cs isnt the same without the coughing sound
I agree

thanks
mike
__________________
mmenzie is offline
Send a message via ICQ to mmenzie Send a message via AIM to mmenzie Send a message via MSN to mmenzie Send a message via Yahoo to mmenzie
bg2095
Junior Member
Join Date: Oct 2005
Old 04-06-2006 , 20:10   Hi
Reply With Quote #122

Hey i am trying to run this on a linux server, the plugin shows up as working, my cvars i work i turned it on 1 but when i throw a smoke nothing works. so please help
bg2095 is offline
Curryking
Veteran Member
Join Date: Jun 2004
Location: 51.22°N / 6.77°E
Old 04-07-2006 , 09:03  
Reply With Quote #123

I also really would appreciate it, if someone could have a look on the code, make it working and especially fix the HP-Bug. I love the idea of this plugin, would like to run it on our FUNserver and I'm waiting for a new version quite long :-(

Pleaaaaaase...

Curry
__________________
Full speed - no brakes!
Curryking is offline
slurpycof
Senior Member
Join Date: Nov 2004
Old 04-13-2006 , 21:22  
Reply With Quote #124

If anyone wants to work on this, here is some ugly code that works. It could definately use refinement, but I do not want to take the project on.

Code:
//code used is from mayhem,RichoDemus/AssKicR/T(+)rget #include <amxmodx> #include <fun> #include <engine> #include <fakemeta> public plugin_init() {     register_plugin("Gas Nades", "1.0", "mixture")     register_forward(FM_PlaybackEvent, "smokeEvent")     register_cvar("amx_gasdmg", "1")     register_cvar("amx_gasradius", "200") } public plugin_precache() {    precache_sound("player/gasp1.wav")    precache_sound("player/gasp2.wav") } public smokeEvent( flags, id, eventid, Float:delay, Float:Origin[3], Float:Angles[3], Float:fparam1, Float:fparam2, iparam1, iparam2,bparam1, bparam2 ) {     new smokeEnt = -1     while(smokeEnt = find_ent_by_class(smokeEnt,"grenade"))     {           new damage = get_cvar_num("amx_gasdmg")             new model[32], grenade[3], players[32]         entity_get_string(smokeEnt, EV_SZ_model, model, 31)         if(equal(model, "models/w_smokegrenade.mdl"))         {                       new Float:smoke_origin[3]             entity_get_vector ( smokeEnt, EV_VEC_origin, smoke_origin )             grenade[0] = floatround(smoke_origin[0])             grenade[1] = floatround(smoke_origin[1])             grenade[2] = floatround(smoke_origin[2])             if((smoke_origin[0] == Origin[0]) && (smoke_origin[0] == Origin[0]) && (smoke_origin[0] == Origin[0]))             {                 new player[3], inum                 get_players(players, inum) // Get number of players                 for(new i = 0; i < inum; ++i) // Loop through all players                     {                         get_user_origin(players[i], player) // Get the position of the player                         new distance = get_distance(grenade, player)                         if((distance < get_cvar_num("amx_gasradius"))) // Check who is standing close                         {                             new number = random_num(1, 2)                             if(is_user_alive(players[i]))                             {                                 switch (number)                                 {                                     case 1:emit_sound(players[i], CHAN_VOICE, "player/gasp1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)                                     case 2:emit_sound(players[i], CHAN_VOICE, "player/gasp2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM)                                 }                                 new userHealth = get_user_health(players[i])                                 set_user_health(players[i], userHealth - damage)                             }                             message_begin(MSG_ONE, get_user_msgid("Damage"), {0,0,0}, players[i])                             write_byte(30) // dmg_save                             write_byte(30) // dmg_take                             write_long((1 << 16)) // visibleDamageBits                             write_coord(grenade[0]) // damageOrigin.x                             write_coord(grenade[1]) // damageOrigin.y                             write_coord(grenade[2]) // damageOrigin.z                             message_end()                         }                     }             }         }               }     return FMRES_IGNORED }
slurpycof is offline
liiziix
Member
Join Date: Aug 2006
Old 08-30-2006 , 10:45   Re: Gasnades (like Seen In Axn)
Reply With Quote #125

What Do we have to type to buy a GG
liiziix is offline
slurpycof
Senior Member
Join Date: Nov 2004
Old 08-31-2006 , 22:52   Re: Gasnades (like Seen In Axn)
Reply With Quote #126

there is nothing to type. A smoke nade is a gas nade.
slurpycof is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 08-31-2006 , 22:55   Re: Gasnades (like Seen In Axn)
Reply With Quote #127

Heyheyheyheyhey...He can typoe whatever he wants.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
ali_zkz
Member
Join Date: Jan 2006
Old 09-14-2006 , 01:49   Re: Gasnades (like Seen In Axn)
Reply With Quote #128

GOOD
ali_zkz is offline
mazmaajinsh
Senior Member
Join Date: Apr 2005
Location: Latvia
Old 10-14-2006 , 12:16   Re: Gasnades (like Seen In Axn)
Reply With Quote #129

its running but when i throw smokegrenade everyone can stand in smokes but nothing happens.. or i have to buy the gasnade some other way?
__________________
Ahujena
mazmaajinsh is offline
k007
BANNED
Join Date: Mar 2006
Location: bacon?
Old 10-14-2006 , 14:45   Re: Gasnades (like Seen In Axn)
Reply With Quote #130

nope the plugin just doesn't work..
k007 is offline
Send a message via MSN to k007
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 10:20.


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