View Single Post
  #5  
Old 12-02-2008, 06:24 PM
Ronnie Ronnie is offline
Registered User
Join Date: Jun 2008
Location: Nj, USA
Posts: 48
Ronnie is on a distinguished road
Send a message via AIM to Ronnie
Since I hate Clientside timeouts and this should work also:

PHP Code:
function onKeyPressed() {
 if (
keydown2(getkeycode("g"), true))  { 
   if (
this.delay == NULL) {
     
this.delay .5;
       
//SHOOT STUFF
     
sleep(this.delay);
     
this.delay 0;
     }
    }
   } 
-Ronnie
Reply With Quote