![]() |
keyname()
PHP Code:
keycode of a: 65 keyname of a: shouldn it be keycode of a: 65 keyname of a: a ?(clientside) =( |
I think there was some problem with keyname in the past.. It's only clientside, maybe?
Try #k(int) |
ehr
that (clientside) at the end should express that im trying it clientside o.o and i dont really use gs1 =/ it doesnt fit well with gs1 any other idea? |
It's a hack. I'm pretty sure I had to use #k() instead of keyname() for something.
|
PHP Code:
keycode of a: 65 keyname of a: |
It's #K for the keyname, not #k.
|
ah that works, thanks
now why didnt keyname() work? Oo |
a Keycode cannot be directly converted to character. I guess what you were trying to was conversion to and from ascii:
number = getascii("a") or getascii('a') character = char(asciicode) Often the key code is the same as ascii though (for a-z). Also note that getascii() was bugged on serverside until a few days ago, I am not sure if the new npcserver has been uploaded to all machines yet. keyname(0..10) is for knowing the name of the default game keys and works on clientside only. |
All times are GMT +2. The time now is 11:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.