![]() |
Passing Keys
there should be a command like sendkeys!
that would be great, so you can disable the normal map, instead of press M, you'd have to open your pack, and equip it and look at it like an item! that way, you can do things like if (weaponfired) { sendkeys(m); } except...you'd probably want the code for the letter, as opposed to the symbol. and, if (keypressed) { if (keycode for m here) sendkeys null; } This could also be used for pausing, unpausing, stopping players from reading (if (playerisreading) sendkeys(m);), prevent movement when desired, instead of using disabledefmovement. The only down fall, is that you could customize your keys to change the effect a server has on your client... so, there'd have to be sendkeys2(game key code); (0..10 or whatever it is). This would be VERY useful for system NPCs, and all sorts of games and other things! |
The problem here is that at no point did you actually say what the command should do. But I'm guessing that you want a command that triggers a keypressed, yeah? But it's not really necessary; it can be implemented via other means.
|
| All times are GMT +2. The time now is 07:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.