Raised This Month: $94 Target: $400
 23% 

Realistic Reloading -- By eDeloa


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Zenith77 (34)
edeloa
Member
Join Date: Mar 2007
Location: Redwood City, Ca
Old 02-23-2008 , 10:24   Realistic Reloading -- By eDeloa
Reply With Quote #1

Realistic Reloading
By: Edgar De Loa (AKA eDeloa and Mex)

This plugin will empty the players' clip before each reload, making the entire reload mechanism seem more realistic.

For example, if you have 5 bullets left in your gun's magazine, and press reload, you will lose those 5 while you reload.

I've search the forums, and have yet to see this idea actually manifested into a working, bug-free, plugin -- so here you go!

Enjoy!

Edit: Since the web compiler is still running AMXX 1.76, I had to make changes to how I called a function. That's why people were having issues compiling. The code is now compatible with AMXX 1.76 and should download just fine.
Attached Files
File Type: sma Get Plugin or Get Source (realisticreloading.sma - 3116 views - 2.1 KB)
__________________
"To be a student and not be a revolutionary is a contradiction." -Salvador Allende

Last edited by edeloa; 02-24-2008 at 18:58.
edeloa is offline
Send a message via AIM to edeloa Send a message via MSN to edeloa
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 02-23-2008 , 10:50   Re: Realistic Reloading -- By eDeloa
Reply With Quote #2

for sure u must turn this off for 2 weapons - bots shotguns

they arent changing all magazine but player add a single bullet to the weapon
Salamon is offline
edeloa
Member
Join Date: Mar 2007
Location: Redwood City, Ca
Old 02-23-2008 , 16:46   Re: Realistic Reloading -- By eDeloa
Reply With Quote #3

Quote:
Originally Posted by Salamon View Post
for sure u must turn this off for 2 weapons - bots shotguns

they arent changing all magazine but player add a single bullet to the weapon
Thanks for catching this. I told myself I wouldn't forget about the shotguns ... and I did.

Fixed now.
__________________
"To be a student and not be a revolutionary is a contradiction." -Salvador Allende
edeloa is offline
Send a message via AIM to edeloa Send a message via MSN to edeloa
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 02-23-2008 , 17:49   Re: Realistic Reloading -- By eDeloa
Reply With Quote #4

yea now it works fine

with all weapons works like it should, thx, i will use it for sure, more realistic = more fun
Salamon is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 02-23-2008 , 18:25   Re: Realistic Reloading -- By eDeloa
Reply With Quote #5

this rocks.. nice ill try it when I get home.
Styles is offline
Send a message via AIM to Styles Send a message via MSN to Styles
Salamon
Senior Member
Join Date: Dec 2007
Location: P(r)oland
Old 02-23-2008 , 20:20   Re: Realistic Reloading -- By eDeloa
Reply With Quote #6

i see it is approved now, gj :>
Salamon is offline
chris
Senior Member
Join Date: Mar 2007
Location: America
Old 02-23-2008 , 20:47   Re: Realistic Reloading -- By eDeloa
Reply With Quote #7

Good plugin.

Approved the first day, I'm guessing this plugin is outstanding.
__________________
chris is offline
Send a message via AIM to chris
Voltron
Senior Member
Join Date: Jun 2007
Location: Above the battlefield.
Old 02-23-2008 , 21:41   Re: Realistic Reloading -- By eDeloa
Reply With Quote #8

Yeah this is how reloading should of been like in the first place.
Voltron is offline
tocoka19
Junior Member
Join Date: Oct 2007
Old 02-24-2008 , 05:23   Re: Realistic Reloading -- By eDeloa
Reply With Quote #9

/home/groups/alliedmodders/forums/files/2/6/2/3/2/23947.attach(100) : error 088: number of arguments does not match definition

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/23947.amx (compile failed).


please fixed, thx
tocoka19 is offline
edeloa
Member
Join Date: Mar 2007
Location: Redwood City, Ca
Old 02-24-2008 , 05:47   Re: Realistic Reloading -- By eDeloa
Reply With Quote #10

Quote:
Originally Posted by tocoka19 View Post
/home/groups/alliedmodders/forums/files/2/6/2/3/2/23947.attach(100) : error 088: number of arguments does not match definition

1 Error.
Could not locate output file /home/groups/amxmodx/public_html/compiled3/23947.amx (compile failed).

please fixed, thx
It compiles fine using PawnStudio. I think there may be an issue with the web compiler. I've attached a pre-compiled amxx file while the issue is figured out.

Edit: Updated code to work with the web compiler. Should work now.
__________________
"To be a student and not be a revolutionary is a contradiction." -Salvador Allende

Last edited by edeloa; 02-24-2008 at 19:00.
edeloa is offline
Send a message via AIM to edeloa Send a message via MSN to edeloa
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 23:06.


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