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

Knife Mod - Special Abilities (Updated)


Post New Thread Reply   
 
Thread Tools Display Modes
Koja2422
New Member
Join Date: Apr 2013
Old 04-06-2013 , 11:40   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #141

How do I set it when you're alive you can pick night ( Knife )

i have on my server but its Respawn server player cant chose knife becouse his respawn ....
Koja2422 is offline
Koja2422
New Member
Join Date: Apr 2013
Old 04-06-2013 , 11:57   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #142

plugin doesent work when your live ... how to change that only when you dead can say / knife .... hot to change that ?
Koja2422 is offline
Leon M.
Senior Member
Join Date: Apr 2009
Location: Germany
Old 04-12-2013 , 08:38   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #143

Quote:
Originally Posted by Koja2422 View Post
plugin doesent work when your live ... how to change that only when you dead can say / knife .... hot to change that ?

Open: knife_mod.sma

Find
Tip: This may be a partial find and not the whole line.
PHP Code:
public display_knife(id) { 
Add After
Tip: Add these lines on a new blank line after the preceding line(s) to find.
PHP Code:
    if (is_user_alive(id)){
        
client_print(idprint_chat"You must be dead to choose a knife.")
        return 
PLUGIN_HANDLED
    

Find
Tip: This may be a partial find and not the whole line.
PHP Code:
    show_menu(idkeysmenuBody, -1"Knife Mod"
Add After
Tip: Add these lines on a new blank line after the preceding line(s) to find.
PHP Code:
    return PLUGIN_HANDLED 
EDIT: Compile it locally and upload the created amxx file.

Leon
__________________
  • ZapTic - Paintball (Version 7.1.3 b1303)
  • Your #1 CS Paintball Server since 2008
  • 85.131.163.101:27015

Last edited by Leon M.; 04-12-2013 at 08:40.
Leon M. is offline
UeberDaniel
AlliedModders Donor
Join Date: Dec 2009
Location: Germany
Old 05-31-2013 , 16:59   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #144

The km_damage cvar dont work on my Server. The "Machete" always makes the dubble dmg but is set to 1.5.
:/
And the Slow Speed Ability didnt wor correctly, in the first round it works and then the Player runns in normal Speed.
Attached Thumbnails
Click image for larger version

Name:	Bild1.jpg
Views:	380
Size:	93.7 KB
ID:	120591  
__________________


Last edited by UeberDaniel; 06-01-2013 at 19:11.
UeberDaniel is offline
Send a message via MSN to UeberDaniel
happy_2012
Senior Member
Join Date: Aug 2012
Old 11-24-2014 , 02:29   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #145

Hello,
I would recommend you convert it to an API

It would be easier to customize and add new knives with other abilities and models!

Something like:
PHP Code:
register_knife(const KNIFE_NAME[], const KNIFE_DESC[], PMODELVMODEL
This would be awesome update if you really do it
__________________
Discord contacts:
I rarely look at private messages here, but I am very active on Discord!

Last edited by happy_2012; 11-24-2014 at 02:30.
happy_2012 is offline
megawatt44
New Member
Join Date: Jun 2016
Location: India
Old 06-20-2016 , 07:07   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #146

Hey, how do i add custom models in this mod. Can someone please help ?
megawatt44 is offline
Zaynn
Junior Member
Join Date: May 2016
Old 09-03-2016 , 17:30   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #147

How do I add more skins to the menu ? Without being are the four ?
Zaynn is offline
popilas
Senior Member
Join Date: Apr 2017
Location: lituanica
Old 08-04-2017 , 07:55   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #148

how do onyl vip with flag bit knifes mod?
popilas is offline
THEHACKERVIP
BANNED
Join Date: Oct 2017
Location: https://t.me/pump_upp
Old 10-13-2017 , 12:20   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #149

2 thinks.
1. how to modify the knifes that the machete have low gravity
2. how to make that the machete is only for vips and admins
thanks for the help
THEHACKERVIP is offline
Send a message via ICQ to THEHACKERVIP Send a message via AIM to THEHACKERVIP Send a message via Yahoo to THEHACKERVIP Send a message via Skype™ to THEHACKERVIP
Residays
Junior Member
Join Date: Oct 2017
Location: Venezuela
Old 11-04-2017 , 12:43   Re: Knife Mod - Special Abilities (Updated)
Reply With Quote #150

Suggestions:

1) Only allow changing knives in the buyzone and before buytime is over. (Or this could be toggled with a cvar since changing it on the go also gives some interesting strategies.)
2) The Pocket Knife can let you move during freezetime, that could be fixed or could be slowed down and used as a faster start. But then the above change should be used so it's not only used in the start.
3) Toggling which knives can be used and which not.
__________________
Residays 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 18:47.


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