Monthly Target: $400 Donations: $228
 56% 

[Suggestions] AMXX 1.8.3


Post New Thread Reply   
 
Thread Tools Display Modes
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 02-08-2017 , 05:39   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #61

Quote:
Originally Posted by Depresie View Post
If we are still on the suggestion topic, adding the constants for all these values into the main amxmodx would be nice, but until then anyone has a list with all of them? i'd like to add them to an inc for my server

PHP Code:
const m_flNextPrimaryAttack
const m_flNextSecondaryAttack
etc 
https://github.com/alliedmodders/amx....games/cstrike
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
Depresie
Veteran Member
Join Date: Nov 2013
Old 02-08-2017 , 13:27   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #62

Thanks a lot !
__________________
Depresie is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-17-2017 , 09:02   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #63

The best suggestion ever made:

PHP Code:
bool:boolclamp(value)
    return 
bool:clamp(valuefalsetrue
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 03-17-2017 , 09:58   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #64

Why not just use '!= 0' or '!!'?
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-17-2017 , 18:39   Re: [Suggestions] AMXX 1.8.3
Reply With Quote #65

Quote:
Originally Posted by PRoSToTeM@ View Post
Why not just use '!= 0' or '!!'?
That is not equivalent to the code he posted since negative values will become false. The equivalent would be "> 0". Either way, it's a bad function and I'm hoping he was being sarcastic.
__________________
fysiks 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 00:14.


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