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

csgo, user playing keyboard or joy stick?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
iskenderkebab33
Senior Member
Join Date: Jun 2018
Old 03-01-2019 , 18:09   csgo, user playing keyboard or joy stick?
Reply With Quote #1

hello, (if this is posible with Sourcemod) how to get player is playing with joy stick or mouse and keyboard and print on round_start in chat
example keyboard and mouse : PlayerX is playing on mouse and keyboard
or
example joy stick: PlayerY is playing with joy stick

Last edited by DarkDeviL; 03-02-2019 at 08:42. Reason: Restore to previous version.
iskenderkebab33 is offline
lugui
Senior Member
Join Date: Feb 2016
Location: GetClientAbsOrigin();
Old 03-19-2019 , 10:14   Re: del
Reply With Quote #2

I don't think it is possible to get the type of controller, but you can still get the keys the user is pressing at any given moment with OnPlayerRunCmd or at the time you need with: GetClientButtons

Last edited by lugui; 03-19-2019 at 10:15.
lugui is offline
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 03-19-2019 , 16:05   Re: csgo, user playing keyboard or joy stick?
Reply With Quote #3

You can... New in scriping?
Kellan123 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-19-2019 , 16:12   Re: csgo, user playing keyboard or joy stick?
Reply With Quote #4

Why though. I'm sure a user could just set a console variable and lie to your server about if they are using a controller or mouse.


Also implying that there is a way without sharing the solution doesn't make you any better than the person you're mocking.
Mitchell 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 11:21.


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