Raised This Month: $252 Target: $400
 63% 

Weapon Throwing


Post New Thread Reply   
 
Thread Tools Display Modes
shinob3
New Member
Join Date: Jan 2010
Old 01-10-2010 , 12:28   Re: Weapon Throwing
Reply With Quote #41

Quote:
Originally Posted by crazyeffect View Post
type this in server.cfg or amxx.cfg, i recommend amxx.cfg
i have tried that in amxx.cfg not working !!!
i have put amx_wp_use_e 0
but not working.

but basically cvars meaning we put them in amxx.cfg,other plugins if not this one???right??
shinob3 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-10-2010 , 13:03   Re: Weapon Throwing
Reply With Quote #42

I've deleted that cvar, it should work now
Attached Files
File Type: sma Get Plugin or Get Source (throw_weapons.sma - 322 views - 12.3 KB)
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
shinob3
New Member
Join Date: Jan 2010
Old 01-10-2010 , 21:22   Re: Weapon Throwing
Reply With Quote #43

Quote:
Originally Posted by crazyeffect View Post
I've deleted that cvar, it should work now
thanks
its working for amx_wp_throw_c4 cvar
,(but not for the amx_wp_use_e )
but basically cvar means you have to enter them in amxx.cfg right??
shinob3 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-11-2010 , 05:35   Re: Weapon Throwing
Reply With Quote #44

cvar allows you to customize an aspect of the plugin. If you want to change the value, you can put it in a config file you want. Either amxx.cfg which is executed on each map, either a config per map (maps/cs_mymap.cfg ) or map type. (prefix_cs.cfg).
__________________
Arkshine is offline
sign92
Member
Join Date: Aug 2009
Old 04-27-2010 , 14:38   Re: Weapon Throwing
Reply With Quote #45

I've found bug when tried to use this plugin with http://forums.alliedmods.net/showthr...ighlight=nosil NoSil plugin. When you have unsilenced usp or m4a1 in your hands only able to drop it under your feet. With silenced usp or m4a1 and other weapons it works as usual.
sign92 is offline
amxxlover
Junior Member
Join Date: Mar 2010
Old 04-29-2010 , 19:16   Re: Weapon Throwing
Reply With Quote #46

Nevermind, solved already. Nice plugin!

Last edited by amxxlover; 04-29-2010 at 23:00.
amxxlover is offline
sign92
Member
Join Date: Aug 2009
Old 05-18-2010 , 09:42   Re: Weapon Throwing
Reply With Quote #47

Also it has the same bug with mp5. With or without nosil plugin.
sign92 is offline
TIMEPOWERED!
Junior Member
Join Date: Apr 2010
Old 05-18-2010 , 09:48   Re: Weapon Throwing
Reply With Quote #48

Succeed to do the same with the knife?
TIMEPOWERED! is offline
keep_clear
Junior Member
Join Date: Jun 2010
Location: Republic of Belarus
Old 06-27-2010 , 11:37   Re: Weapon Throwing
Reply With Quote #49

Quote:
Originally Posted by sign92 View Post
Also it has the same bug with mp5. With or without nosil plugin.
+1
I've exactly such problem... Anybody khows where is this problem and where me to look? Please.)
keep_clear is offline
Snafu.at
Junior Member
Join Date: Feb 2011
Old 02-24-2011 , 15:04   Re: Weapon Throwing
Reply With Quote #50

Hey guys!
I've managed to fix the MP5 bug. The call to get_weaponid returned 0 because the weapon is not called weapon_mp5 but weapon_mp5navy.
The author of this plugin stripped away the prefix and suffix of the weapons model name, which in case of the mp5 is w_mp5.mdl. This caused the bug.

Cheers,
Snafu

PS: I've never coded AMXX plugins before. If there is a cleaner way to do the replace you're welcome to do it that way. The foo = "bar" was my first attempt, compiled without erros and it works on my local server.
Attached Files
File Type: sma Get Plugin or Get Source (throw_weapons.sma - 254 views - 12.4 KB)

Last edited by Arkshine; 02-25-2011 at 04:47. Reason: AMXX file removed, you are not allowed to upload compiled plugin.
Snafu.at 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 15:08.


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