1. How to display text at relative given coords?
2. How to detect if CTRL key is pressed?
This doesn't work. It works for non-modifiers key (isKeyPressed same):
2. How to detect if CTRL key is pressed?
This doesn't work. It works for non-modifiers key (isKeyPressed same):
Код:
if (SF->getGame()->isKeyDown(0x11)) {
AddChatMsg(d3d_white, "CTRL IS PRESSED");
}
Последнее редактирование: