Raised This Month: $32 Target: $400
 8% 

switchblade


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 08-21-2014 , 07:42   switchblade
Reply With Quote #1

This plugin changes your knife on switchblade from Cry of fear
Cvars:
cof_switchblade 1 turns on plugin
cof_switchblade_damage2mult 3.0 damage mult in mode 2
Video:
https://www.youtube.com/watch?v=LMxR...f9eioSlK9ToR3Q

Author: MaHu
Version: 0.1
Attached Files
File Type: sma Get Plugin or Get Source (cof_switchblade.sma - 617 views - 6.4 KB)
File Type: zip Switchblade.zip (965.5 KB, 124 views)

Last edited by MaHu; 08-21-2014 at 08:36.
MaHu is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-21-2014 , 08:03   Re: switchblade
Reply With Quote #2

In FM_EmitSound:
PHP Code:
if( zp_get_user_zombieid ) )
            return 
HAM_IGNORED 
->
PHP Code:
if( zp_get_user_zombieid ) )
            return 
FMRES_IGNORED 
What's the purpose of this plugin ? How can you integrate this into the game play ?
__________________

Last edited by HamletEagle; 08-21-2014 at 08:04.
HamletEagle is offline
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 08-21-2014 , 08:38   Re: switchblade
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
In FM_EmitSound:
PHP Code:
if( zp_get_user_zombieid ) )
            return 
HAM_IGNORED 
->
PHP Code:
if( zp_get_user_zombieid ) )
            return 
FMRES_IGNORED 
What's the purpose of this plugin ? How can you integrate this into the game play ?
fixed.
This plugin just for fun.
MaHu is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-22-2014 , 06:32   Re: switchblade
Reply With Quote #4

Quote:
Originally Posted by MaHu View Post
This plugin just for fun.
https://forums.alliedmods.net/showthread.php?t=11201
__________________
Kia is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-22-2014 , 07:20   Re: switchblade
Reply With Quote #5

You could use KnifeApi by BackStabNoob, to make this a little better.
__________________
HamletEagle is offline
MaHu
Member
Join Date: Jun 2011
Location: Belarus
Old 08-23-2014 , 15:31   Re: switchblade
Reply With Quote #6

what do you mean?
MaHu is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-24-2014 , 04:22   Re: switchblade
Reply With Quote #7

Read the theard, the most important sentence is:
Quote:
The goal is to achieve a Plugin forum that contains quality plugins, and hopefully very few bad plugins. It's hard to achieve, of course, but that is the goal.
__________________

Last edited by HamletEagle; 08-24-2014 at 04:22.
HamletEagle is offline
Kz1.0
Senior Member
Join Date: Jan 2013
Location: Vietnam
Old 08-24-2014 , 07:19   Re: switchblade
Reply With Quote #8

If it is bad, it will be unapproved, don't ask those meaningless questions.
Kz1.0 is offline
Lucky888
Senior Member
Join Date: Nov 2011
Location: Paradise
Old 08-24-2014 , 07:37   Re: switchblade
Reply With Quote #9

Nike my friends, use this for knife mode and more fun! )

The diffirent between:
HAM_IGNORED ? FMRES_IGNORED

is what?
__________________
Lucky888 is offline
Send a message via Yahoo to Lucky888
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-24-2014 , 08:14   Re: switchblade
Reply With Quote #10

HAM_IGNORED has to be used in hamsandwich forwards.
FMRES_IGNORED has to be used in fakemeta forwards.

Btw, this theard is not for scripting help.
__________________

Last edited by HamletEagle; 08-24-2014 at 08:14.
HamletEagle 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 22:19.


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