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

AntiEGON


Post New Thread Reply   
 
Thread Tools Display Modes
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 02-05-2009 , 21:53   Re: AntiEGON
Reply With Quote #11

This plugin is well done.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Argus
Junior Member
Join Date: Oct 2007
Location: Russia
Old 02-27-2009 , 04:48   Re: AntiEGON
Reply With Quote #12

plugin to replace Egon to weapon_shotgun

PHP Code:
#include <amxmodx>
#include <fakemeta>

new pcvar_amx_removeegon
new pcvar_amx_entityset

public plugin_init()
{
  
register_plugin("Replace egon""1.3.2""DaTa")
  
pcvar_amx_removeegon register_cvar("amx_removeegon","1")
  
pcvar_amx_entityset register_cvar("amx_entityset","weapon_shotgun")
  
admin_removeegon()
}
   
public 
admin_removeegon()
{   

  if (!(
get_pcvar_num(pcvar_amx_removeegon)))
    return 
PLUGIN_HANDLED

  
new eEntFloat:vOrigin[3]
  new 
entitystr[64]
                
  
get_pcvar_string(pcvar_amx_entitysetentitystr63);
   
  new 
ipsz_ammo_gaussclip engfunc(EngFunc_AllocStringentitystr)
   
  while(  ( 
eEnt engfunc(EngFunc_FindEntityByStringeEnt"classname""weapon_egon") ) )
  {
   
pev(eEntpev_originvOrigin)
   
engfunc(EngFunc_RemoveEntityeEnt)
    
   
eEnt engfunc(EngFunc_CreateNamedEntityipsz_ammo_gaussclip)
   
set_pev(eEntpev_originvOrigin)
   
dllfunc(DLLFunc_SpawneEnt)

  }
 return 
PLUGIN_HANDLED

Argus is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 02-27-2009 , 19:12   Re: AntiEGON
Reply With Quote #13

Very nice.
Are you the author of this plugin? I didn't find any info about it or DaTa author.
Can I use this code in my plugin?

Ok. I think that no one will be against.

Last edited by Flasher; 02-28-2009 at 18:34.
Flasher is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 02-28-2009 , 18:46   Re: AntiEGON
Reply With Quote #14

New version released:
2.0
[!] Change: this version is using pure new way - just replacing egon to whatever you want (by default - gauss ammo).
Flasher is offline
GordonFreeman (RU)
Veteran Member
Join Date: Jan 2010
Location: Uzbekistan
Old 01-06-2010 , 02:12   Re: AntiEGON
Reply With Quote #15

I do not like the server where the weapons restricted
GordonFreeman (RU) is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 03-12-2010 , 09:19   Re: AntiEGON
Reply With Quote #16

v3.0 [2010.03.12]
! New: different working modes.
! New: mode with modifying egon damage.
! New: mode with spoofing replacement entity as egon.
Flasher is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 03-12-2010 , 09:28   Re: AntiEGON
Reply With Quote #17

wtf is egon?
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
KORD_12.7
Senior Member
Join Date: Aug 2009
Location: Russia, Vladivostok
Old 03-12-2010 , 09:39   Re: AntiEGON
Reply With Quote #18

Quote:
Originally Posted by Owyn View Post
wtf is egon?
Weapon of noobs in Half-Life
__________________

Vi Veri Veniversum Vivus Vici
Russian Half-Life and Adrenaline Gamer community
KORD_12.7 is offline
Send a message via ICQ to KORD_12.7
Flasher
Senior Member
Join Date: Apr 2008
Old 03-12-2010 , 13:18   Re: AntiEGON
Reply With Quote #19

v3.1 [2010.03.12]
! Fixed: damage multiplier now working correctly.
Flasher is offline
Flasher
Senior Member
Join Date: Apr 2008
Old 11-09-2010 , 12:07   Re: AntiEGON
Reply With Quote #20

v3.2 [2010.11.09]
! Fixed: spoofed egon (mode 2) is falling from level if stayed close to a wall (on boot_camp for example).
Flasher 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 08:20.


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