View Single Post
  #18  
Old 12-05-2009, 08:43 AM
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
On a similiar note, trying to disable s+a, and oddly, enablefeatures isnt working for it. I dont know whats up with enablefeatures causing so many issues...

Regardless, i was trying to get this to work, and will post this code, that I know will not work.

PHP Code:
function onKeyPressed(keystring)
{
  if (
keystring == "s" && keystring == "a") { 
    
setAni("armageddon-idle", NULL);
  }
} 
Is there another way to interrupt the s+a besides enable features? Been trying for hours. Didnt see anything about it except enablefeatures on the forums.

p.s, tried to get the keycode for s+a, apparently you cant, at least from using

PHP Code:
function onKeyPressed( keycode, keystring, scancode ) {
  if (
this.keydebug)
  
player.chat = params;
  else
  
player.chat = "";
} 
__________________
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