Cstrike
2010-10-31 22:54:39
if IsKeyDown(123) then
begin
writeln ('pressed');
end;Now when I run this in simba without smart/srl/reflection, it will run perfectly if/when I'm pressing down, but as soon as I throw SMART/reflection/SRL in there, it never recognizes it. IIRC it will recognize it in smaller scripts, but I'm running a massive 4000 line script and it just doesn't seem to want to work.
Are there any script conditions that prevent lag in IsKeyDown?
Is there any way for me to have a KeyDown function that can be used in SMART? Is there a reason it's not working? I made a repeat until loop (infinite) and even then, it was just If IsKeyDown() and a wait in there, and it didn't respond.
Am I missing something? Is there any other way for me to enable the scripter to have remote access by ReadLn during the script?