Electromagnetic Grenade v1.0

Mag-Nade
v1.0

Description:
It sends waves that damage the victim, affecting view and speed.

Screenshot:



Instruction and Installation:
  • Compile magnade.sma
  • Put magnade.amxx in folder addons/amxmodx/plugins/
  • Add name of plugin in plugins.ini
Requirements:
  • AMX Mod X
  • Ham Sandwich
  • FakeMeta
  • Re-API
Commands:
enade -- Get a MagNade (ADMIN Rcon Only)

Cvars:
magnade_blindtime 5          Blind duration.
magnade_pangle               - Punch Angles duration.
magnade_slowtime 5           - Slowdown duration.
magnade_slowpower 0.1     - Slowdown power (0.1 - 1.0)
magnade_damage 1200       - Explosive damage.

Natives:
/**
 * Description: Give MagNade for specific player.
 * 
 * @param id 	Client index.
 * 
 * @return 	True 	| If given successfully.
 * 		False 	| If player not connected.
 * 
 */
native give_user_electro_grenade(const id);

/**
 * Description: Remove MagNade for specific player.
 * 
 * @param id 		Client index.
 * @param bRemove 	Remove player SmokeGrenade.
 *
 * @return 	True 	| If given successfully.
 * 		False 	| If player not connected.
 * 
 */
native remove_user_electro_grenade(const id, bool:bSet = true);
Changes Log:
v0.1
    - Release. 

Special Thanks:

'3bi9a :D -- Some ideas/Testing'


Download:

magnade.sma - 14 KB

z0h1r-LK

Mapper for Counter-Strike

Post a Comment

Previous Post Next Post