Raised This Month: $44 Target: $400
 11% 

just drop bombs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Erra
Member
Join Date: Jun 2021
Old 12-26-2021 , 16:39   just drop bombs
Reply With Quote #1

hello in this addon is it possible to just throw the bomb instead of all the guns
Attached Files
File Type: sma Get Plugin or Get Source (throw_weapons.sma - 55 views - 12.3 KB)
Erra is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 12-26-2021 , 23:37   Re: just drop bombs
Reply With Quote #2

I changed the cvar
PHP Code:
amx_wp_throw_c4 

PHP Code:
amx_wp_throw_only_c4 
so if you set that cvar to 1, you can only throw C4.
But on the other hand, if you set it to 0, you can throw every weapon including C4

I can't test it yet so please tell if it work or not
Attached Files
File Type: sma Get Plugin or Get Source (throw_weapons.sma - 18 views - 12.3 KB)
__________________
My plugin:

Last edited by Celena Luna; 12-26-2021 at 23:37.
Celena Luna is offline
Erra
Member
Join Date: Jun 2021
Old 12-27-2021 , 21:34   Re: just drop bombs
Reply With Quote #3

Quote:
Originally Posted by Celena Luna View Post
I changed the cvar
PHP Code:
amx_wp_throw_c4 

PHP Code:
amx_wp_throw_only_c4 
so if you set that cvar to 1, you can only throw C4.
But on the other hand, if you set it to 0, you can throw every weapon including C4

I can't test it yet so please tell if it work or not
Sir, I want the grenade to be thrown, not the C4, just a grenade.

Last edited by Erra; 12-27-2021 at 21:35.
Erra is offline
Old 12-27-2021, 21:55
Celena Luna
This message has been deleted by Celena Luna. Reason: maybe not?
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 12-27-2021 , 21:59   Re: just drop bombs
Reply With Quote #4

Quote:
Originally Posted by Erra View Post
Sir, I want the grenade to be thrown, not the C4, just a grenade.
Wait, isn't you suppose to throw grenade?
So you want the grenade to do damage when touch player?

If you want to drop the nade, use this one
https://forums.alliedmods.net/showthread.php?t=23340
__________________
My plugin:

Last edited by Celena Luna; 12-27-2021 at 23:22.
Celena Luna 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 10:33.


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