Thanks so much, you solved it 
Next time, i should think before post :|

Next time, i should think before post :|
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
function on_key_press(eKeyCode keycode)
{
if (IsGamePaused()) keycode = 0; // game paused, so don't react to keypresses
if (keycode == eKeyEscape) player.ChangeRoom(2, 100, 50);
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.040 seconds with 14 queries.