![]() |
ARG GS2 doesnt like me
Why the heck wont function onKeyPressed() { } work for me?
NPC Code:function onKeyPressed(character) NPC Code:function onKeypressed(character) (2 Different NPCs) Neither of them work. What the heck am I doing wrong? |
I think the first parameter is the keycode, and the second is the key.
Try this: NPC Code: |
Ah Twusk told me how to solve it, so I changed it to
NPC Code:function onKeyPressed(code, character) and it works fine. |
| All times are GMT +2. The time now is 03:02 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.