Raised This Month: $ Target: $400
 0% 

Solved [Any] How can I send keyboard inputs to clients?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TotalChaos SourcePawner
Senior Member
Join Date: Feb 2023
Location: IN PINEAPPLE, UNDER SEA
Old 03-24-2023 , 09:50   Re: [Any] How can I send keyboard inputs to clients?
Reply With Quote #3

Quote:
Originally Posted by little_froy View Post
https://sm.alliedmods.net/new-api/sd...OnPlayerRunCmd

the "buttons" parameter.

buttons |= IN_ATTACK;
I'm not very good with coding, at all. But from what I can tell, that's for finding out when the user (or bot) presses a button, not for sending a command to the client.
Again, I am very bad with coding, so for all I know this is the solution (I'm not even sure how to set it up).

Remember, I'm looking for a solution that works with both human players, and bots. I don't want just one or the other.

Sorry if this comes off as rude, that's not my intention.
TotalChaos SourcePawner 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 21:05.


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