Thread: Player Speed
View Single Post
  #6  
Old 12-30-2012, 04:29 PM
sssssssssss sssssssssss is offline
Cyril Rain
sssssssssss's Avatar
Join Date: May 2003
Location: Texas, USA
Posts: 1,134
sssssssssss will become famous soon enough
Quote:
Originally Posted by Gunderak View Post
I suppose something like this?
PHP Code:
//#CLIENTSIDE
function onKeyDown(code){
  if(
code in 3740|){
    
//Movement keys?
  
}

But then I suppose you've got j and the other walk keys..
I appreciate it, but I got that part. Timeout to onwater and handle keys after disabling movement if in water.

I'm wondering if there is a better way than that though, as I hate using timeouts...
__________________
Cyril Rain
Creator and leader of SLX
Admin of Elysium
Elysium's Facebook Page: http://facebook.com/GraalOnlineElysium
Graal Forum Thread: http://forums.graalonline.com...
Graalians Thread: http://www.graalians.com...


Reply With Quote