Raised This Month: $ Target: $400
 0% 

detecting if a player presses a key


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgi
Old 05-09-2012 , 10:51   Re: detecting if a player presses a key
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
static is irrelevant to how the code works. There are posts that explain static vs new. In this case, it is mostly an efficiency thing.

buttons contains a bitwise list of the commands that are active basically.

You should explain exactly what you are trying to do because your suggestion in your first post is not possible.
ok,
how I want to use this:

In the nightcrawler mod from nikhilgupta345,
Players have to bind a key to "item" first before they can use items and teleport as NC.
I want to ask the player when they join to let the server do it for them.
If they choose yes the server has to bind it for the player. if they choose no then they have to bind it themselves to a key of their choice.

do you think it can be done without slowhacking?

if anyone know a better nightcrawler mod i'd love to take a peek.
This one is hard to read and not very user friendly, but im not complaining, its a good mod
striker07 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 00:21.


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