![]() |
Keypresed question
Hello forums. This may be a dumb question to you, but i am still new to scripting.
I know you can do Function on keyPressed(code, key) { If (key == "a"). Or whatever key But what do i in the key check for right or left? |
You should use
PHP Code:
There's a list of key numbers for keydown here. |
Quote:
|
Can someone please explain the temp. thing. Im trying to learn. what is temp?
|
Quote:
PHP Code:
Placing the temp. prefix on your variable designates it as temporary. But that's the basic gist of it. |
| All times are GMT +2. The time now is 05:07 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.