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

Weapon Return


Post New Thread Reply   
 
Thread Tools Display Modes
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-16-2011 , 20:14   Re: Weapon Return
Reply With Quote #21

Hmm, for some reason this plugin is not showing on the list of amxmodx.org, while the other plugin is.

Not a big deal, but just wondering why.

Any mod care to fix that
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 04-25-2013 , 20:10   Re: Weapon Return
Reply With Quote #22

I've modified a plugin.

Changes are:
  • fix: after return primary weapon players could not pick up 'map' weapons (i.e. armoury_entity)
  • change: console command 'return' instead of chat command '/return' to avoid antiflood protection
  • new: multilingual support
  • new: ability to disable return for first X rounds; use 'rw_disable_rounds' cvar, set it to '-1' to disable restriction
Credits:
- to ConnorMcLeod for fix to pick up primary weapons well


v1.2 6/7/2014
Attached Files
File Type: txt weapon_return.txt (1,001 Bytes, 137 views)
File Type: sma Get Plugin or Get Source (weapon_return.sma - 551 views - 7.8 KB)
__________________

Last edited by isotonic; 06-06-2014 at 21:38.
isotonic is offline
allanalcantara
New Member
Join Date: Apr 2013
Old 04-26-2013 , 10:25   Re: Weapon Return
Reply With Quote #23

tested and approved!

Last edited by allanalcantara; 04-26-2013 at 10:26.
allanalcantara is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 06-06-2014 , 21:33   Re: Weapon Return
Reply With Quote #24

The little update ;) Changes are:
  • change: improved pick up 'map' weapons fix due to new AMXX 1.8.3-dev features;
  • new: ability to set access flag (see #define ACCESS_FLAG in the source). by default it is flag 'n'; comment to disable access check;
  • new: ability to set selling limit (see #define MAX_MONEY in the source). it is really matter when server does not limit money to $16000.

New version 1.2 is attached to my previous post.
__________________

Last edited by isotonic; 06-06-2014 at 21:42.
isotonic is offline
josko
Member
Join Date: Dec 2008
Old 11-24-2020 , 12:25   Re: Weapon Return
Reply With Quote #25

I'm probably late AS F*CK but...

Would be better if it was called Weapon Sell and the command being /Sell instead of Return, because you are selling back the weapon right? That's why you get money when you do so. Simply returning would not give you anything.

Anyway very small detail, easily fixed even by myself ^^
josko 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 03:39.


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