Raised This Month: $ Target: $400
 0% 

clcmd, and keypress.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Rolnaaba
Veteran Member
Join Date: May 2006
Old 07-12-2007 , 20:52   clcmd, and keypress.
Reply With Quote #1

how can I register a clcmd and get when it is pressed AND when it is released? I can make people bind the comand, but how will i get when they press AND release that bound key?
Code:
register_clcmd("comand", "handle");   public handle(id) {       //this is when pressed }   //how do i detect release?
__________________
DO NOT PM me about avp mod.
Rolnaaba 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:29.


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