Raised This Month: $ Target: $400
 0% 

SourceMod to use CharToLower when hooking commands through RegConsole/AdminCmd.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 01-11-2017 , 08:45   Re: SourceMod to use CharToLower when hooking commands through RegConsole/AdminCmd.
Reply With Quote #8

Quote:
Originally Posted by ddhoward View Post
Oddly, a command is case insensitive when used from the console.
The case-sensitivity of commands has changed multiple times in the engine over the years.

https://github.com/alliedmodders/sou...1ac3853571b6b0

The notes added to the includes in this commit go into some detail on the variety back in 2008.
__________________
asherkin is offline
 



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 22:36.


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