Raised This Month: $ Target: $400
 0% 

(Help)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ayemnowan
Member
Join Date: Aug 2015
Old 09-07-2015 , 12:33   (Help)
Reply With Quote #1

#include <amxmodx>
#include <hamsandwich>

public plugin_init( )
RegisterHam( Ham_CS_Item_CanDrop, "weapon_knife", "FwdHamKnifeDrop" );

public FwdHamKnifeDrop( iEntity ) {
SetHamReturnInteger( 1 );

return HAM_SUPERCEDE;
}

Can anyone help me with this?

This code allows player to drop knife,
I want to add something like a trail whenever you drop your knife (like in grenade trail)
and instead of using default knife world model,how to make it use a custom world knife model(coz the default model dont lies in the floor,it stays at the midair)

I've already fix the world model tested it and it works.
(the reason why I want to add trail is I used it together with throw weapon plugin) so whenever i throw my knife and it hits an enemy kaboom his good as dead.lol.
ayemnowan 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 22:16.


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