Raised This Month: $51 Target: $400
 12% 

God Mode On Reload


Post New Thread Reply   
 
Thread Tools Display Modes
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 08-01-2013 , 19:29   Re: God Mode On Reload
Reply With Quote #11

Quote:
Originally Posted by ConnorMcLeod View Post
Code is redundant, make a table with weapons maxclip and another with weapons reload time, so you don't need this switch statement anymore.
Also, i think reload time you have put are not accurate, where have you found them ?

Last, i'm pretty sure your reload detection method can return false positive, depending on weapon state players could abuse of it.
Updated and works better
__________________

Last edited by Balck; 08-01-2013 at 19:33.
Balck is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-02-2013 , 03:13   Re: God Mode On Reload
Reply With Quote #12

How do you detects if player starts reloading and change weapon ?

You can see there how to retrieve exact reload time and how to detect stop reload process : https://forums.alliedmods.net/showth...540#post777540
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-02-2013 at 04:33.
ConnorMcLeod is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 08-02-2013 , 10:10   Re: God Mode On Reload
Reply With Quote #13

It's funny to see, that the plugin suddenly changed from prethink & get_user_button to ham hooks. I really wonder how you made such change.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-02-2013 , 11:41   Re: God Mode On Reload
Reply With Quote #14

EpicMonkey did the changes if iam not wrong
__________________
Jhob94 is offline
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 08-02-2013 , 14:00   Re: God Mode On Reload
Reply With Quote #15

Yes
__________________
Balck is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 08-02-2013 , 17:05   Re: God Mode On Reload
Reply With Quote #16

Just one thing. You understand the code? (I mean understand all not only a piece)
__________________
Jhob94 is offline
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 08-02-2013 , 18:23   Re: God Mode On Reload
Reply With Quote #17

Quote:
Originally Posted by Jhob94 View Post
Just one thing. You understand the code? (I mean understand all not only a piece)
yes i understand but i was not able to make this all to my self but now i undestand this :S
__________________
Balck is offline
Old 08-06-2013, 12:37
LordOfNothing
This message has been deleted by ConnorMcLeod. Reason: troll, or posting random confusing code, or posting for posts count
JoooN
BANNED
Join Date: Jul 2013
Location: Ban List :P
Old 08-07-2013 , 07:19   Re: God Mode On Reload
Reply With Quote #18

My suggestion is to give the player Anti-Bullet semiclip when he is reloading instead of god mod
JoooN is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 08-07-2013 , 12:58   Re: God Mode On Reload
Reply With Quote #19

. .. . .. . . same thing.. doesnt make any difference
sami_spt is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-07-2013 , 13:28   Re: God Mode On Reload
Reply With Quote #20

This would make sense on falldamage or c4 damage for example, or for other kind of entity damage, should block HE damage though.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 23:48.


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